feat: configure `netrw`

server
Igor Milhit 2017-07-13 10:44:10 +02:00
parent 9a9853e448
commit 6809339209
No known key found for this signature in database
GPG Key ID: 3B5043D919E99ED2
2 changed files with 11 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
# `vim-plug` plugins # `vim-plug` plugins
plugged/* plugged/*
# netrw
.netrwhist

View File

@ -16,6 +16,9 @@ if has("autocmd")
filetype plugin indent on filetype plugin indent on
endif endif
" add some tags for html indentations
:let g:html_indent_inctags = "html,body,head,tbody"
set showcmd " Show (partial) command in status line. set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets. set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching set ignorecase " Do case insensitive matching
@ -65,15 +68,13 @@ autocmd FileType markdown set foldlevel=0 " Détermine le niveau de fo
" `.md` for markdown files " `.md` for markdown files
au BufRead,BufNewFile *.md set filetype=markdown au BufRead,BufNewFile *.md set filetype=markdown
" add some tags for html indentations
:let g:html_indent_inctags = "html,body,head,tbody"
" vim-pandoc " vim-pandoc
:let g:pandoc#spell#default_langs = ['fr', 'en', 'de_de'] " default languages grammar check :let g:pandoc#spell#default_langs = ['fr', 'en', 'de_de'] " default languages grammar check
" set C-l to :nohlsearch " set C-l to :nohlsearch
nnoremap <silent> <C-l> :nohlsearch<CR><C-l> nnoremap <silent> <C-l> :nohlsearch<CR><C-l>
" copy to clipboard with `"+y`
set clipboard+=unnamedplus set clipboard+=unnamedplus
" airline " airline
@ -81,3 +82,7 @@ let g:airline_powerline_fonts = 1
" vim-table-mode " vim-table-mode
:let g:table_mode_corner='|' :let g:table_mode_corner='|'
" netrw, instead of NERDTree
let g:netrw_liststyle = 3
let g:netrw_banner = 0