-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvim.vim
More file actions
43 lines (34 loc) · 986 Bytes
/
Copy pathvim.vim
File metadata and controls
43 lines (34 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"== set neovim color schema
colorscheme material
"== tabline navigation ==
nnoremap <space>p :bprevious<CR>
nnoremap <space>n :bnext<CR>
"== quickfix navigation ==
nnoremap <leader>qn :cn<CR><ESC>
nnoremap <leader>qp :cp<CR><ESC>
"== buffer navigation
nnoremap <leader>bf :buffers<CR>:buffer
nnoremap <leader>bd :bd<CR>
"== press Ctrl-J whenever you want to split a line ==
nnoremap <c-s> i<CR><ESC>
nnoremap <c-j> :join!<CR><ESC>
"== netrw ==
nnoremap <leader>e :Explore<CR>
"== blink cursor ==
:set guicursor=a:blinkon100
"== copy to clipboard
vnoremap <F2> "+y
nnoremap <F2> "+y
"== search using smartcase
set ignorecase
set smartcase
"== ident
filetype indent on
filetype plugin indent on
"== mouse, The you can press :, select text for the system,
"and press Esc to go back to Vim using the mouse events.
set mouse=nvi
"== enter read only mode when swp file found
autocmd SwapExists * let v:swapchoice = "o"
"== hi visual
hi Visual term=reverse cterm=reverse guibg=Grey