-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathideavimrc
41 lines (33 loc) · 1.02 KB
/
ideavimrc
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
" Force quit that bitch
nmap fq :q!<CR>
inoremap jk <ESC>
set hidden " Useful for auto setting hidden buffers
nmap <leader>T :enew<cr>
" Move between buffer (Prefer default mappings)
nmap <leader>l :bnext<CR>"
nmap <leader>h :bprevious<CR>
" Show all open buffers
nmap <leader>bl :ls<CR>
" Yank to end of line with Y
nnoremap Y y$
" Delete to end of line with D
nnoremap D d$
set tabstop=2 " The width of a TAB is set to 4.
" Still it is a \t. It is just that
" Vim will interpret it to be having
" a width of 4.
set shiftwidth=2 " Indents will have a width of 4
set softtabstop=2 " Sets the number of columns for a TAB
""""
" JetBrains Stuff
""""
"" Shortcuts & Actions
" JetBrains Go-To-Declaration
nnoremap gd :action GotoDeclaration
"" Plugins below come with IdeaVIM
" Enable tpope/vim-surround
set surround
" Enable tpope/commentary
set commentary
" Enable terryma/vim-multiple-cursors
set multiple-cursors