-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
34 lines (28 loc) · 672 Bytes
/
vimrc
File metadata and controls
34 lines (28 loc) · 672 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
" better clipboard
set clipboard+=unnamed
" faster movements
nnoremap K 10k
nnoremap J 10j
vnoremap K 10k
vnoremap J 10j
let mapleader = " "
" file system
nnoremap <leader><leader> :Ntree<CR>
" basic
nnoremap <leader>q :q<CR>
nnoremap <leader>s :w<CR>
nnoremap <leader>d :bd<CR>
nnoremap <leader>z :sus<CR>
nnoremap <C-l> :set invnumber<CR>
nnoremap <C-h> :noh<CR>
" windows
nnoremap <Leader>wc :close<CR>
nnoremap <Leader>wm :only<CR>
nnoremap <Leader>ww <C-W>w
nnoremap <Leader>wv :vsplit<CR>
nnoremap <Leader>ws :split<CR>
if !has("nvim")
" IntelliJ
nnoremap <leader>r :action RecentFiles<CR>
nnoremap <leader>a :action ActivateDatabaseToolWindow<CR>
endif