Formatting

This commit is contained in:
Talia 2017-11-06 16:31:27 +01:00
parent 2d7bb18228
commit a59faeb51b

11
vimrc
View file

@ -70,7 +70,6 @@ set noexpandtab
set smarttab set smarttab
set autoindent set autoindent
set smartindent set smartindent
set smarttab set smarttab
set shiftwidth=2 set shiftwidth=2
set gdefault set gdefault
@ -95,10 +94,6 @@ if has('unnamedplus') " Allow copying to and from OS clipboard
else else
set clipboard=unnamed set clipboard=unnamed
end end
noremap <leader>d "_d
noremap <leader>d "_d
noremap x "_x
noremap <leader>x x
" === GENERAL UTILITIES === " === GENERAL UTILITIES ===
function! MatchingLines(pattern) function! MatchingLines(pattern)
@ -176,6 +171,12 @@ command! -nargs=1 QFind call setqflist(MatchingLinesDict(<args>))
" === GENERAL KEY MAPPINGS === " === GENERAL KEY MAPPINGS ===
let mapleader = "\\" let mapleader = "\\"
" --- /dev/null ---
noremap <leader>d "_d
noremap <leader>d "_d
noremap x "_x
noremap <leader>x x
" --- MOVEMENT --- " --- MOVEMENT ---
nnoremap j gj nnoremap j gj
nnoremap k gk nnoremap k gk