Update .vimrc

This commit is contained in:
2021-09-09 13:26:03 +03:00
parent 63e149ee11
commit 277a2f7957

12
.vimrc
View File

@@ -13,8 +13,8 @@ set encoding=utf-8
set wrap set wrap
set autochdir set autochdir
" Remap to use Alt+Q to quit panel or vim " Map leader key to Space
nmap <A-q> :q<CR> let mapleader = " "
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
@@ -62,11 +62,11 @@ map <C-h> <C-W>h
map <C-l> <C-W>l map <C-l> <C-W>l
" Remap to quickly quit Vim on Ctrl+Q " Remap to quickly quit Vim on Ctrl+Q
nmap <C-q> :q<CR> nmap <leader>q :q<CR>
" Remap to save file with Ctrl+S " Remap to save file with Ctrl+S
nmap <C-s> :w<CR> nmap <leader>w :w<CR>
" Remaps to move line under the cursor down and up " Remaps to move line under the cursor down and up
nnoremap <A-j> :m .+1<CR>== nnoremap <C-j> :m .+1<CR>==
nnoremap <A-k> :m .-2<CR>== nnoremap <C-k> :m .-2<CR>==