From a31375a756edc1b1f51dc00143bac8a093b44877 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 16 Feb 2020 11:41:12 +0000 Subject: [PATCH] Update vim settings --- .vimrc | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/.vimrc b/.vimrc index 08205fe..63791dd 100644 --- a/.vimrc +++ b/.vimrc @@ -1,10 +1,43 @@ -" keybindings +" General config +" ______________________________ +" +set encoding=utf-8 +set laststatus=2 +set nowrap +set smarttab +set backspace=indent,eol,start +set ttyfast +set timeout timeoutlen=1000 ttimeoutlen=50 +set clipboard=unnamed "use p to paste clipboard +set history=1000 +set undolevels=1000 +set nobackup +set nowritebackup +set noswapfile +set viminfo='20,\"100 "max 100 lines in registers +set visualbell +set noerrorbells +set nomodeline + +" Keybindings +" ______________________________ +" +" no arrow keys map map map map -" plugins +" forgiving exit +:ca Q q + +" 2x scrolling +nnoremap 2 +nnoremap 2 + +" Plugins +" ______________________________ + call plug#begin() Plug 'arcticicestudio/nord-vim' Plug 'scrooloose/nerdtree' @@ -17,9 +50,6 @@ Plug 'leafgarland/typescript-vim' Plug 'peitalin/vim-jsx-typescript' call plug#end() -" theme -colorscheme nord - " NERDTree let g:NERDTreeShowHidden = 1 let g:NERDTreeMinimalUI = 1 @@ -37,3 +67,9 @@ let g:fzf_action = { \ 'ctrl-s': 'split', \ 'ctrl-v': 'vsplit' \} + +" Theme +" ______________________________ + +colorscheme nord +