diff options
-rw-r--r-- | nvim/nvim/ftplugin/markdown.vim | 2 | ||||
-rw-r--r-- | nvim/nvim/ftplugin/netrw.vim | 1 | ||||
-rw-r--r-- | nvim/nvim/init.vim | 15 |
3 files changed, 14 insertions, 4 deletions
diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim index fac588d..2a03e5e 100644 --- a/nvim/nvim/ftplugin/markdown.vim +++ b/nvim/nvim/ftplugin/markdown.vim @@ -9,3 +9,5 @@ augroup SENTENCES au! autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif augroup END + +let g:markdown_folding=1 diff --git a/nvim/nvim/ftplugin/netrw.vim b/nvim/nvim/ftplugin/netrw.vim new file mode 100644 index 0000000..6f5fe3d --- /dev/null +++ b/nvim/nvim/ftplugin/netrw.vim @@ -0,0 +1 @@ +setlocal nolist diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim index bde3e35..2eb2689 100644 --- a/nvim/nvim/init.vim +++ b/nvim/nvim/init.vim @@ -47,6 +47,13 @@ set background=dark " Set default colorscheme but dark comments -> Torte colorscheme desert +" Highligh column and line +" set cursorcolumn +set cursorline +highlight CursorColumn ctermbg=DarkGrey guibg=#262626 +highlight CursorLine ctermbg=DarkGrey guibg=#262626 +highlight! link CursorColumn CursorLine + " Show trailing spaces set list lcs=trail:·,tab:»· @@ -58,11 +65,11 @@ set splitbelow set splitright " Explore configured to show tree -" don't use banner +" Use a banner " always open files in previous window -let g:netrw_liststyle = 3 -let g:netrw_banner = 0 -"let g:netrw_browse_split = 4 +let g:netrw_liststyle = 1 +let g:netrw_banner = 1 +let g:netrw_winsize = 75 " % of window by v or o operation " Mouse support set mouse=a |