updated neovim configuration
This commit is contained in:
parent
2a5daa6dda
commit
27539eff01
58
.nvimrc
58
.nvimrc
@ -1,14 +1,36 @@
|
|||||||
" Global settings
|
" Global settings
|
||||||
syntax on
|
|
||||||
set showcmd
|
set showcmd
|
||||||
set ruler
|
set ruler
|
||||||
|
set wildmenu
|
||||||
|
set lazyredraw
|
||||||
|
set showmatch
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
set nofoldenable
|
||||||
set backupdir=~/.config/neovim/backup/
|
set backupdir=~/.config/neovim/backup/
|
||||||
set directory=~/.config/neovim/backup/
|
set directory=~/.config/neovim/backup/
|
||||||
set number
|
set number
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
" Colors
|
" Colors
|
||||||
highlight LineNr ctermfg=cyan
|
set t_Co=16
|
||||||
|
highlight Keyword ctermfg=06
|
||||||
|
highlight Define ctermfg=06
|
||||||
|
highlight Comment ctermfg=03
|
||||||
|
highlight Type ctermfg=08
|
||||||
|
highlight Operator ctermfg=05
|
||||||
|
highlight Identifier ctermfg=13
|
||||||
|
highlight Constant ctermfg=11
|
||||||
|
highlight Function ctermfg=01
|
||||||
|
highlight Include ctermfg=06
|
||||||
|
highlight Statement ctermfg=06
|
||||||
|
highlight String ctermfg=03
|
||||||
|
highlight Search ctermbg=14
|
||||||
|
highlight NonText ctermfg=00
|
||||||
|
highlight VertSplit ctermfg=08 cterm=none
|
||||||
|
highlight LineNr ctermfg=07
|
||||||
|
highlight Visual ctermbg=08 ctermfg=15
|
||||||
|
|
||||||
|
set fillchars+=vert:│
|
||||||
|
|
||||||
" Indent
|
" Indent
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
@ -26,22 +48,46 @@ set rtp+=~/.config/neovim/bundle/Vundle.vim
|
|||||||
call vundle#begin('~/.config/neovim/bundle')
|
call vundle#begin('~/.config/neovim/bundle')
|
||||||
|
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
" Plugins
|
||||||
Plugin 'kien/ctrlp.vim'
|
Plugin 'kien/ctrlp.vim'
|
||||||
|
Plugin 'itchyny/lightline.vim'
|
||||||
" Languages
|
" Languages
|
||||||
Plugin 'kchmck/vim-coffee-script'
|
Plugin 'kchmck/vim-coffee-script'
|
||||||
Plugin 'fatih/vim-go'
|
Plugin 'fatih/vim-go'
|
||||||
Plugin 'wting/rust.vim'
|
Plugin 'wting/rust.vim'
|
||||||
Plugin 'godlygeek/tabular' " dependency for markdown
|
Plugin 'jgertm/nix.vim'
|
||||||
Plugin 'plasticboy/vim-markdown'
|
|
||||||
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
syntax on
|
||||||
|
|
||||||
" CtrlP
|
" CtrlP
|
||||||
|
|
||||||
let g:ctrlp_map = '<c-p>'
|
let g:ctrlp_map = '<c-p>'
|
||||||
let g:ctrlp_cmd = 'CtrlP'
|
let g:ctrlp_cmd = 'CtrlP'
|
||||||
|
|
||||||
" Markdown
|
" StatusLine
|
||||||
|
|
||||||
let g:vim_markdown_folding_disabled=1
|
set laststatus=2
|
||||||
|
set noshowmode
|
||||||
|
let s:p = {'normal': {}, 'inactive': {},
|
||||||
|
\'insert': {}, 'replace' : {},
|
||||||
|
\'visual': {}, 'tabline' : {}}
|
||||||
|
|
||||||
|
let s:p.normal.left = [ [ 07, 14 ], [ 08, 00 ] ]
|
||||||
|
let s:p.insert.left = [ [ 07, 05 ], [ 14, 00 ] ]
|
||||||
|
let s:p.visual.left = [ [ 00, 03 ], [ 14, 00 ] ]
|
||||||
|
let s:p.replace.left = [ [ 00, 02 ], [ 14, 00 ] ]
|
||||||
|
let s:p.inactive.left = [ [ 12, 00 ], [ 15, 00 ] ]
|
||||||
|
let s:p.tabline.left = [ [ 14, 00 ] ]
|
||||||
|
let s:p.normal.right = [ [ 12, 00 ], [ 03, 00 ] ]
|
||||||
|
let s:p.tabline.right = [ [ 12, 00 ], [ 03, 00 ] ]
|
||||||
|
let s:p.inactive.right = [ [ 12, 00 ], [ 13, 00 ] ]
|
||||||
|
let s:p.normal.middle = [ [ 12, 00 ] ]
|
||||||
|
let s:p.inactive.middle = [ [ 12, 00 ] ]
|
||||||
|
let s:p.tabline.middle = [ [ 14, 00 ] ]
|
||||||
|
let s:p.tabline.tabsel = [ [ 14, 00 ] ]
|
||||||
|
let s:p.normal.error = [ [ 00, 05 ] ]
|
||||||
|
let s:p.normal.warning = [ [ 00, 02 ] ]
|
||||||
|
|
||||||
|
let g:lightline#colorscheme#default#palette = lightline#colorscheme#fill(s:p)
|
||||||
|
Loading…
Reference in New Issue
Block a user