start nvim configuration
This commit is contained in:
parent
6f505c1c33
commit
d79a29f67c
@ -1,12 +1,40 @@
|
|||||||
|
|
||||||
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
|
|
||||||
|
Plug 'sonph/onehalf', { 'rtp': 'vim' }
|
||||||
|
Plug 'vifm/vifm.vim'
|
||||||
|
Plug 'preservim/nerdtree'
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
colorscheme onehalfdark
|
||||||
|
|
||||||
|
" lightline
|
||||||
|
let g:lightline = {
|
||||||
|
\ 'colorscheme': 'onehalfdark',
|
||||||
|
\ 'active': {
|
||||||
|
\ 'left': [ [ 'mode', 'paste' ],
|
||||||
|
\ [ 'readonly', 'filename', 'modified' ] ]
|
||||||
|
\ },
|
||||||
|
\ 'component': {
|
||||||
|
\ 'helloworld': 'Hello, world!'
|
||||||
|
\ },
|
||||||
|
\ }
|
||||||
|
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
set tabstop=4 softtabstop=4
|
set tabstop=4 softtabstop=0
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set smartindent
|
set smartindent
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set incsearch
|
set incsearch
|
||||||
set scrolloff=8
|
set scrolloff=8
|
||||||
|
set noshowmode
|
||||||
"set colorcolumn=80
|
"set colorcolumn=80
|
||||||
"set mouse=a
|
|
||||||
"set clipboard=unnamedplus
|
|
||||||
|
@ -95,15 +95,15 @@ super + ctrl + {m,x,y,z}
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Focus the node in the given direction
|
# Focus the node in the given direction
|
||||||
super + {Left,Down,Up,Right}
|
#super + {Left,Down,Up,Right}
|
||||||
bspc node -f {west,south,north,east}
|
# bspc node -f {west,south,north,east}
|
||||||
|
|
||||||
super + {h, j, k, l}
|
super + {h, j, k, l}
|
||||||
bspc node -f {west,south,north,east}
|
bspc node -f {west,south,north,east}
|
||||||
|
|
||||||
# Move the node to the given direction
|
# Move the node to the given direction
|
||||||
super + shift + {Left,Down,Up,Right}
|
#super + shift + {Left,Down,Up,Right}
|
||||||
bspc node -s {west,south,north,east}
|
# bspc node -s {west,south,north,east}
|
||||||
|
|
||||||
super + shift + {h, j, k, l}
|
super + shift + {h, j, k, l}
|
||||||
bspc node -s {west,south,north,east}
|
bspc node -s {west,south,north,east}
|
||||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.config/nvim/plugged
|
Loading…
Reference in New Issue
Block a user