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
" Mappings
|
|
let mapleader=","
|
|
let g:mapleader=","
|
|
|
|
map <leader>rl :source $MYVIMRC<CR>
|
|
map <leader>ss :setlocal spell!<CR>
|
|
map <leader>ts :%s/\s\s*$//g<CR>
|
|
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
|