xresources, st, nvim and more

This commit is contained in:
vibikim 2020-08-22 19:04:56 +03:00
parent 46f5dcc0b3
commit dc022c5837
15 changed files with 145 additions and 237 deletions

11
nvim/.netrwhist Normal file
View file

@ -0,0 +1,11 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =9
let g:netrw_dirhist_9='/home/vibikim/repos/st'
let g:netrw_dirhist_8='/home/vibikim/repos'
let g:netrw_dirhist_7='/home/vibikim/repos/st'
let g:netrw_dirhist_6='/home/vibikim/repos'
let g:netrw_dirhist_5='/home/vibikim/repos/dotfiles/polybar'
let g:netrw_dirhist_4='/home/vibikim'
let g:netrw_dirhist_3='/home/vibikim/.config/awesome'
let g:netrw_dirhist_2='/home/vibikim/.config'
let g:netrw_dirhist_1='/home/vibikim'

42
nvim/init.vim Normal file
View file

@ -0,0 +1,42 @@
let mapleader=" "
" Basic stuff
set mouse=a
set nocompatible
set nohlsearch
filetype plugin on
syntax on
set encoding=utf-8
set number
set termguicolors
" Enable spell checking, s for spell check
map <leader>se :setlocal spell! spelllang=en<CR>
map <leader>sr :setlocal spell! spelllang=ro<CR>
" Easier Write and Quit aliases
nnoremap <leader>q :q<CR>
nnoremap <leader>Q :wq<CR>
nnoremap <leader>w :w<CR>
" ###
" # Plugins
" ###
call plug#begin('~/.local/share/nvim/plugged')
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
call plug#end()
" hexokinase
let g:Hexokinase_refreshEvents = ['InsertLeave']
let g:Hexokinase_highlighters = ['backgroundfull']
autocmd VimEnter * HexokinaseTurnOn
" ###
" # Key Remapping
" ###
map <C-s> :source ~/.config/nvim/init.vim<CR>