Remove trailing whitespace

master
Hektor Misplon 2020-12-10 15:03:05 +01:00
parent 52b056ee9d
commit 45b134f81d
1 changed files with 11 additions and 10 deletions

21
.vimrc
View File

@ -1,4 +1,5 @@
" General config _______________________ " General config ______________________
"
set nocompatible set nocompatible
@ -15,7 +16,7 @@ set nu rnu
set signcolumn=number " make sign replace number set signcolumn=number " make sign replace number
set nowrap set nowrap
set backspace=indent,eol,start " indentation set backspace=indent,eol,start " indentation
set incsearch ignorecase smartcase hlsearch" search set incsearch ignorecase smartcase hlsearch" search
set autoindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab " indenting set autoindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab " indenting
set lazyredraw " only essential redraws set lazyredraw " only essential redraws
set synmaxcol=181 set synmaxcol=181
@ -94,12 +95,12 @@ nnoremap <leader>Q :q!<cr>
inoremap jj <esc> inoremap jj <esc>
" Keybindings: search " Keybindings: search
nnoremap <leader><space> :noh<cr> nnoremap <leader><space> :noh<cr>
" Silver search " Silver search
nnoremap <leader>A :Ag <cr> nnoremap <leader>A :Ag <cr>
" Keybindings: line numbers " Keybindings: line numbers
@ -167,7 +168,7 @@ Plug 'jpalardy/vim-slime'
call plug#end() call plug#end()
" Plugin config ________________________ " Plugin config ________________________
" Plugin: NERDCommenter " Plugin: NERDCommenter
@ -238,7 +239,7 @@ let g:slime_no_mappings = 1
xmap <leader>el <Plug>SlimeRegionSend xmap <leader>el <Plug>SlimeRegionSend
nmap <leader>ep <Plug>SlimeParagraphSend nmap <leader>ep <Plug>SlimeParagraphSend
" Plugin keybindings ___________________ " Plugin keybindings ___________________
" Plugin: fzf " Plugin: fzf
nnoremap <c-p> :FZF<cr> nnoremap <c-p> :FZF<cr>
@ -255,10 +256,10 @@ let g:fzf_action = {
" Autocompletion " Autocompletion
inoremap <silent><expr><C-j> pumvisible() ? "\<C-n>" : inoremap <silent><expr><c-j> pumvisible() ? "\<c-n>" :
\ coc#refresh() \ coc#refresh()
inoremap <expr><C-k> pumvisible() ? "\<C-p>" : "k" inoremap <expr><c-k> pumvisible() ? "\<C-p>" : "k"
inoremap <expr><cr> complete_info()["selected"] != "-1" ? "\<C-y>" : "\<C-g>u\<CR>" inoremap <expr><cr> complete_info()["selected"] != "-1" ? "\<c-y>" : "\<c-g>u\<CR>"
" Code action on cursor position " Code action on cursor position
@ -276,7 +277,7 @@ let g:vimtex_view_method='zathura'
let g:tex_flavor = 'latex' let g:tex_flavor = 'latex'
let g:tex_conceal='abdmg' let g:tex_conceal='abdmg'
" Theme ________________________________ " Theme ________________________________
colorscheme simple-dark colorscheme simple-dark