dotfiles/.config/nvim/init.vim

59 lines
1.2 KiB
VimL
Raw Normal View History

2020-12-14 05:35:11 +00:00
call plug#begin()
Plug 'ctrlpvim/ctrlp.vim'
Plug 'bling/vim-airline'
Plug 'vimwiki/vimwiki'
Plug 'dylanaraps/wal.vim'
2020-12-31 15:59:16 +00:00
Plug 'mhinz/vim-startify'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'liuchengxu/vim-which-key'
Plug 'mizlan/vim-and-cp'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-sleuth'
Plug 'editorconfig/editorconfig'
Plug 'airblade/vim-gitgutter'
Plug 'preservim/nerdcommenter'
2021-02-20 17:14:05 +00:00
Plug 'Vimjas/vim-python-pep8-indent'
" Debugging plugins
Plug 'realaltffour/comprog.nvim', { 'branch': 'test' }
"Plug '~/.config/nvim/plugged/comprog.nvim'
2020-12-14 05:35:11 +00:00
call plug#end()
filetype plugin indent on
" Setup theme.
set t_Co=256
2021-03-13 13:01:31 +00:00
"colorscheme wal
2020-12-14 05:35:11 +00:00
let g:airline_themes='onedark'
2021-03-13 13:01:31 +00:00
" General
2020-12-31 15:59:16 +00:00
set textwidth=80
let mapleader = " "
set clipboard+=unnamed
2021-03-13 13:01:31 +00:00
set autoread
set backspace=indent,eol,start
set ignorecase
set smartcase
set incsearch
set magic
2020-12-14 05:35:11 +00:00
2021-03-13 13:01:31 +00:00
" Appearance
set number
set nowrap
set showbreak=
" toggle invisible characters
set list
set listchars=tab:→\ ,eol,trail:⋅,extends:,precedes:,space
set list
set ttyfast
2020-12-14 05:35:11 +00:00
2020-12-31 15:59:16 +00:00
" Leader keys
map <leader>e :bufdo e!<CR>
nnoremap <silent> <leader> :WhichKey '<Space>'<CR>
2020-12-14 05:35:11 +00:00
" Custom settings.
set mouse=a
set encoding=utf-8
set backspace=indent,eol,start
2020-12-31 15:59:16 +00:00
set timeoutlen=50
2020-12-14 05:35:11 +00:00
syntax on
set rnu