From d79a29f67cbe1d502d1fae78c8573baf36883b7c Mon Sep 17 00:00:00 2001 From: grimhilt Date: Mon, 9 Jan 2023 20:36:18 +0100 Subject: [PATCH] start nvim configuration --- .config/nvim/init.vim | 34 +++++++++++++++++++++++++++++++--- .config/sxhkd/sxhkdrc | 8 ++++---- .gitignore | 1 + 3 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 2bcbb60..8700b4a 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 3c947e1..2d9f87f 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -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} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b070a26 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.config/nvim/plugged