diff --git a/installpackages.txt b/installpackages.txt index 531dbdf..b89b8c5 100644 --- a/installpackages.txt +++ b/installpackages.txt @@ -37,3 +37,5 @@ xss-lock bc gvfs gvfs-afc +nodejs +npm diff --git a/vimrc b/vimrc index 3f4a66d..f6c79f9 100644 --- a/vimrc +++ b/vimrc @@ -1,7 +1,8 @@ filetype plugin on - filetype indent on +set encoding=utf-8 + command! W execute 'w !sudo tee % > /dev/null' edit! nnoremap mm make @@ -12,6 +13,8 @@ set foldlevelstart=0 set showcmd +color torte + set ignorecase set smartcase set hlsearch @@ -28,14 +31,18 @@ set autoindent set smartindent set tags=./tags,tags;$HOME +inoremap + \ coc#pum#visible() ? coc#pum#next(1) : + \ CheckBackspace() ? "\" : + \ coc#refresh() +inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" + packadd! termdebug highlight ColorColumn ctermbg=magenta call matchadd('ColorColumn', '\%81v', 100) -let g:ycm_always_populate_location_list = 1 - let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim' if empty(glob(data_dir . '/autoload/plug.vim')) silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' @@ -45,7 +52,7 @@ endif call plug#begin() Plug 'stevearc/vim-arduino' -Plug 'ycm-core/YouCompleteMe' +Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'ludovicchabant/vim-gutentags' Plug 'tpope/vim-unimpaired'