misc
This commit is contained in:
parent
010975aae1
commit
de9983d689
4 changed files with 22 additions and 3 deletions
10
vim/.vimrc
10
vim/.vimrc
|
@ -52,6 +52,7 @@ if has("autocmd")
|
|||
autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType javascript setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType handlebars setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType xml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab
|
||||
autocmd FileType rst setlocal tw=80 ts=3 sts=3 sw=3 expandtab
|
||||
|
@ -106,7 +107,12 @@ if has("autocmd")
|
|||
endif
|
||||
|
||||
" vimwiki options
|
||||
let g:vimwiki_list = [{'path': '~/Notebook',
|
||||
let g:vimwiki_list = [{'path': '~/Notebook/work',
|
||||
\ 'auto_toc': 1,
|
||||
\ 'index': 'main',
|
||||
\ 'ext': '.md',
|
||||
\ 'syntax': 'markdown'},
|
||||
\{'path': '~/Notebook/perso',
|
||||
\ 'auto_toc': 1,
|
||||
\ 'index': 'main',
|
||||
\ 'ext': '.md',
|
||||
|
@ -124,6 +130,7 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'bling/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'jreybert/vimagit'
|
||||
Plug 'kien/ctrlp.vim'
|
||||
Plug 'valloric/youcompleteme'
|
||||
Plug 'altercation/vim-colors-solarized'
|
||||
|
@ -148,4 +155,5 @@ call plug#end()
|
|||
map <C-n> :NERDTreeToggle<CR>
|
||||
map <leader>n :cnext<CR>
|
||||
map <leader>p :cprevious<CR>
|
||||
nmap <leader>N :NERDTreeFocus<CR>
|
||||
nnoremap <leader>h :cclose<CR>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue