start nvim configuration

This commit is contained in:
grimhilt 2023-01-09 20:36:18 +01:00
parent 6f505c1c33
commit d79a29f67c
3 changed files with 36 additions and 7 deletions

View File

@ -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 relativenumber
set tabstop=4 softtabstop=4
set tabstop=4 softtabstop=0
set shiftwidth=4
set expandtab
set smartindent
set ignorecase
set incsearch
set scrolloff=8
set noshowmode
"set colorcolumn=80
"set mouse=a
"set clipboard=unnamedplus

View File

@ -95,15 +95,15 @@ super + ctrl + {m,x,y,z}
#
# Focus the node in the given direction
super + {Left,Down,Up,Right}
bspc node -f {west,south,north,east}
#super + {Left,Down,Up,Right}
# bspc node -f {west,south,north,east}
super + {h, j, k, l}
bspc node -f {west,south,north,east}
# Move the node to the given direction
super + shift + {Left,Down,Up,Right}
bspc node -s {west,south,north,east}
#super + shift + {Left,Down,Up,Right}
# bspc node -s {west,south,north,east}
super + shift + {h, j, k, l}
bspc node -s {west,south,north,east}

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.config/nvim/plugged