beef-book yes

This commit is contained in:
vibikim 2020-12-08 13:58:40 +02:00
parent f07fd23ce2
commit f61d024cf8
4 changed files with 32 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# ~/.bashrc # ~/.bashrc
# #
export vblank_mode=0 #export vblank_mode=0
set -o vi set -o vi
[[ $- != *i* ]] && return [[ $- != *i* ]] && return

View file

@ -2,7 +2,7 @@ set previewer ~/.config/lf/preview
# Basic Settings # Basic Settings
set preview true set preview true
set hidden true set hidden true
set color256 true #set color256 true
set icons true set icons true
set ignorecase true set ignorecase true

View file

@ -11,6 +11,8 @@ set number
set termguicolors set termguicolors
set splitbelow splitright set splitbelow splitright
set scrolloff=5 set scrolloff=5
" coc specific
set updatetime=300
set cursorline set cursorline
@ -37,7 +39,7 @@ call plug#begin('~/.local/share/nvim/plugged')
" hexokinase(color preview): go " hexokinase(color preview): go
" coc(code completion): nodejs, yarn " coc(code completion): nodejs, yarn
" vimdiscord: nvim installed from pip (python extension thingy) " vimdiscord: nvim installed from pip (python extension thingy)
Plug 'vbe0201/vimdiscord' "Plug 'vbe0201/vimdiscord'
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
Plug 'vimwiki/vimwiki' Plug 'vimwiki/vimwiki'
"Plug 'franbach/miramare' "Plug 'franbach/miramare'
@ -144,3 +146,29 @@ nnoremap <A-h> <C-w>h
nnoremap <A-j> <C-w>j nnoremap <A-j> <C-w>j
nnoremap <A-k> <C-w>k nnoremap <A-k> <C-w>k
nnoremap <A-l> <C-w>l nnoremap <A-l> <C-w>l
" COC
" Use tab for trigger completion with characters ahead and navigate.
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
" Use <c-space> to trigger completion.
if has('nvim')
inoremap <silent><expr> <c-space> coc#refresh()
else
inoremap <silent><expr> <c-@> coc#refresh()
endif
" Make <CR> auto-select the first completion item and notify coc.nvim to
" format on enter, <cr> could be remapped by other vim plugin
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"

View file

@ -21,7 +21,7 @@ super + shift + Return
$TERMINAL -e lf $TERMINAL -e lf
super + shift + d super + shift + d
discord discord-canary
super + shift + v super + shift + v
pavucontrol pavucontrol
super + shift + o super + shift + o