|
|
|
@ -60,6 +60,8 @@ set modeline " Enable modelines
|
|
|
|
|
" set undofile " saves undo changes in a separate file, so we can undo anytime |
|
|
|
|
set lcs=tab:¦\ " uses a special char at the start of a tab character, uses spaces after that |
|
|
|
|
set nolist " ... but don't display them by default |
|
|
|
|
set path+=** " glob the search path for files (helps :find) |
|
|
|
|
set wildmenu " display all found files |
|
|
|
|
|
|
|
|
|
let mapleader=" " " use space to start user-defined (in plugins) functions |
|
|
|
|
|
|
|
|
@ -106,8 +108,9 @@ Plugin 'honza/vim-snippets'
|
|
|
|
|
|
|
|
|
|
" fuzzy file open |
|
|
|
|
" Plugin 'kien/ctrlp.vim' |
|
|
|
|
Plugin 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
|
|
|
|
Plugin 'junegunn/fzf.vim' |
|
|
|
|
" Plugin 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
|
|
|
|
" Plugin 'junegunn/fzf.vim' |
|
|
|
|
Plugin 'Yggdroot/LeaderF' |
|
|
|
|
|
|
|
|
|
" select multiple strings at the same time |
|
|
|
|
Plugin 'terryma/vim-multiple-cursors' |
|
|
|
@ -115,6 +118,7 @@ Plugin 'terryma/vim-multiple-cursors'
|
|
|
|
|
" colorschemes |
|
|
|
|
Plugin 'croaker/mustang-vim' |
|
|
|
|
Plugin 'crusoexia/vim-monokai' |
|
|
|
|
Plugin 'arcticicestudio/nord-vim' |
|
|
|
|
|
|
|
|
|
" Improved syntax files |
|
|
|
|
Plugin 'Glench/Vim-Jinja2-Syntax' |
|
|
|
@ -148,7 +152,8 @@ Plugin 'zhamlin/tiler.vim'
|
|
|
|
|
call vundle#end() " done with plugins |
|
|
|
|
|
|
|
|
|
" color mustang " looks awesome on gvim, looks alright in vim if you have 256 color support |
|
|
|
|
color monokai |
|
|
|
|
" color monokai |
|
|
|
|
color nord |
|
|
|
|
|
|
|
|
|
" Enable file type detection. |
|
|
|
|
" Use the default filetype settings, so that mail gets 'tw' set to 72, |
|
|
|
@ -259,6 +264,9 @@ au FileType yaml setlocal expandtab tabstop=2 sw=2 sts=2 textwidth=0
|
|
|
|
|
" For Java, we need to display tabs |
|
|
|
|
au FileType java setlocal noet list |
|
|
|
|
|
|
|
|
|
" On Markdown files, we want automatic breaks and spell checking |
|
|
|
|
au FileType markdown setlocal tw=78 spell spelllang=en_au wrap |
|
|
|
|
|
|
|
|
|
" ---------------------------------------------------------------------- |
|
|
|
|
" Remove tailing spaces |
|
|
|
|
" ---------------------------------------------------------------------- |
|
|
|
@ -392,7 +400,7 @@ let g:NERDTreeMapOpenInTabSilent = '<RightMouse>'
|
|
|
|
|
let g:NERDTreeWinSize = 40 |
|
|
|
|
"noremap <F3> :NERDTreeToggle<CR> |
|
|
|
|
"nnoremap <silent> <F2> :NERDTreeFind<CR> |
|
|
|
|
map <Leader>\ <plug>NERDTreeTabsToggle<CR> |
|
|
|
|
" map <Leader>\ <plug>NERDTreeTabsToggle<CR> |
|
|
|
|
|
|
|
|
|
" ---------------------------------------------------------------------- |
|
|
|
|
" Syntastic |
|
|
|
@ -486,7 +494,7 @@ let g:python_highlight_all = 1
|
|
|
|
|
" Tiler keybinds |
|
|
|
|
" ---------------------------------------------------------------------- |
|
|
|
|
nmap <Leader>n :TilerNew<CR> |
|
|
|
|
nmap <Leader>f :TilerFocus<CR> |
|
|
|
|
nmap <Leader><cr> :TilerFocus<CR> |
|
|
|
|
nmap <Leader><space> :TilerReorder<CR> |
|
|
|
|
|
|
|
|
|
let g:tiler#master#size = 55 |
|
|
|
|