You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
633 B
VimL
24 lines
633 B
VimL
4 years ago
|
" Mappings
|
||
|
let mapleader=","
|
||
|
let g:mapleader=","
|
||
4 years ago
|
|
||
4 years ago
|
map <leader>rl :source $MYVIMRC<CR>
|
||
|
map <leader>ss :setlocal spell!<CR>
|
||
4 years ago
|
map <leader>ts :%s/\s\s*$//g<CR>
|
||
4 years ago
|
nnoremap <leader>rc :split $MYVIMRC<cr>
|
||
|
nnoremap <leader>p :set paste<cr>
|
||
|
nnoremap <leader>np :set nopaste<cr>
|
||
|
nnoremap <leader>nn :set nonumber norelativenumber<cr>
|
||
|
nnoremap <leader>rn :set number relativenumber<cr>
|
||
|
|
||
|
" Vim Tabs
|
||
|
map <leader>tt :tabnew<cr>
|
||
|
map <leader>te :tabedit
|
||
|
map <leader>tc :tabclose<cr>
|
||
|
map <leader>to :tabonly<cr>
|
||
|
map <leader>tn :tabNext<cr>
|
||
|
map <leader>tp :tabprevious<cr>
|
||
|
map <leader>tf :tabfirst<cr>
|
||
|
map <leader>tl :tablast<cr>
|
||
|
map <leader>tm :tabmove
|