-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
39 lines (32 loc) · 855 Bytes
/
vimrc
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
call plug#begin()
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' }"
call plug#end()
" 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> :Telescope find_files<CR>
nnoremap <leader>f :Telescope live_grep<CR>
nnoremap <leader>p :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>
" IntelliJ
nnoremap <leader>r :action RecentFiles<CR>
nnoremap <leader>a :action ActivateDatabaseToolWindow<CR>