Update vim config

master
Hektor Misplon 2020-04-15 13:10:46 +00:00
parent aa11fa196b
commit 0e09197f09
1 changed files with 13 additions and 13 deletions

26
.vimrc
View File

@ -13,17 +13,16 @@ set timeout timeoutlen=1000 ttimeoutlen=50
set undolevels=500 set undolevels=500
set history=500 set history=500
set shortmess+=c set shortmess+=c
set signcolumn=yes " set signcolumn=yes
set nowrap set nowrap
set relativenumber set nu rnu " hybrid line numbers
set number
set signcolumn=yes
set clipboard=unnamedplus "use p to paste clipboard set clipboard=unnamedplus "use p to paste clipboard
" indentation " indentation
set backspace=indent,eol,start set backspace=indent,eol,start
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
set ignorecase smartcase incsearch hlsearch set incsearch ignorecase smartcase hlsearch
set autoindent tabstop=2 softtabstop=2 shiftwidth=2 expandtab
set emoji set emoji
" no backups " no backups
@ -44,8 +43,13 @@ set novisualbell
" Keybindings " Keybindings
" ______________________________ " ______________________________
" leader key " split navigation
nnoremap <c-j> <c-w><c-j>
nnoremap <c-k> <c-w><c-k>
nnoremap <c-l> <c-w><c-l>
nnoremap <c-h> <c-w><c-h>
" leader key
let mapleader = " " let mapleader = " "
" hard mode " hard mode
@ -161,7 +165,6 @@ command! -nargs=0 Prettier :CocCommand prettier.formatFile
call plug#begin() call plug#begin()
Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'arcticicestudio/nord-vim'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'yuezk/vim-js' Plug 'yuezk/vim-js'
Plug 'maxmellon/vim-jsx-pretty' Plug 'maxmellon/vim-jsx-pretty'
@ -217,8 +220,5 @@ let g:fzf_action = {
" Theme " Theme
" ______________________________ " ______________________________
colorscheme nord colorscheme darkness
set t_Co=256
if &t_Co == 8 && $TERM !~# '^Eterm'
set t_Co=16
endif