Skip to content

Commit f7515c5

Browse files
author
pairdev
committed
mappings update
1 parent 197a02e commit f7515c5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.vimrc

+6-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ map Y y$
2525
"Open tag under cursor in new tab
2626
map <C-T> :tab split<CR>:exec("tag ".expand("<cword>"))<CR>
2727
" Copy current file path to system clipboard
28-
nrmap <silent> cp :let @*=expand("%")<CR>
28+
nmap <silent> cp :let @*=expand("%")<CR>
2929
" Fast saving
3030
nmap ,w :w!<CR>
3131
@@ -57,8 +57,6 @@ nnoremap <silent> - :vertical resize -5<CR>
5757
nnoremap <silent> <leader>+ :resize +5<CR>
5858
nnoremap <silent> <leader>- :resize -5<CR>
5959
60-
""""""""""""""""""""""""""""""""""""Colors
61-
colorscheme jellybeans
6260

6361
""""""""""""""""""""""""""""""""""""Tabs
6462
"Insert spaces instead of tabs it inserts (if defined) 'softtabstop' space chars
@@ -117,6 +115,8 @@ filetype plugin indent on
117115
"(runtime == source+relative path to vim installation dir)
118116
runtime macros/matchit.vim
119117

118+
""""""""""""""""""""""""""""""""""""Colors
119+
colors jellybeans
120120
""""""""""""""""""""""""""""""""""""Syntastic
121121
let g:syntastic_error_symbol = ''
122122
let g:syntastic_auto_loc_list = 2
@@ -231,8 +231,11 @@ cnoremap <C-p> <Up>
231231
cnoremap <C-n> <Down>
232232
""""""""""""""""""""""""""""""""""""SplitJoin
233233
nmap <Leader>k :SplitjoinJoin<cr>
234+
nmap ,k :SplitjoinJoin<cr>
234235
nmap <Leader>j :SplitjoinSplit<cr>
236+
nmap ,j :SplitjoinSplit<cr>
235237
236238
""""""""""""""""""""""""""""""""""""Rails
237239
"Open Alternate file in vertical split
238240
nmap <leader>a :AV<CR>
241+
nmap ,a :AV<CR>

0 commit comments

Comments
 (0)