beef-book yes
This commit is contained in:
parent
f813a52320
commit
f1601a9f64
4 changed files with 32 additions and 4 deletions
2
.bashrc
2
.bashrc
|
@ -2,7 +2,7 @@
|
|||
# ~/.bashrc
|
||||
#
|
||||
|
||||
export vblank_mode=0
|
||||
#export vblank_mode=0
|
||||
set -o vi
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
|
|
2
lf/lfrc
2
lf/lfrc
|
@ -2,7 +2,7 @@ set previewer ~/.config/lf/preview
|
|||
# Basic Settings
|
||||
set preview true
|
||||
set hidden true
|
||||
set color256 true
|
||||
#set color256 true
|
||||
set icons true
|
||||
set ignorecase true
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ set number
|
|||
set termguicolors
|
||||
set splitbelow splitright
|
||||
set scrolloff=5
|
||||
" coc specific
|
||||
set updatetime=300
|
||||
|
||||
set cursorline
|
||||
|
||||
|
@ -37,7 +39,7 @@ call plug#begin('~/.local/share/nvim/plugged')
|
|||
" hexokinase(color preview): go
|
||||
" coc(code completion): nodejs, yarn
|
||||
" vimdiscord: nvim installed from pip (python extension thingy)
|
||||
Plug 'vbe0201/vimdiscord'
|
||||
"Plug 'vbe0201/vimdiscord'
|
||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||
Plug 'vimwiki/vimwiki'
|
||||
"Plug 'franbach/miramare'
|
||||
|
@ -144,3 +146,29 @@ nnoremap <A-h> <C-w>h
|
|||
nnoremap <A-j> <C-w>j
|
||||
nnoremap <A-k> <C-w>k
|
||||
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>"
|
||||
|
|
|
@ -21,7 +21,7 @@ super + shift + Return
|
|||
$TERMINAL -e lf
|
||||
|
||||
super + shift + d
|
||||
discord
|
||||
discord-canary
|
||||
super + shift + v
|
||||
pavucontrol
|
||||
super + shift + o
|
||||
|
|
Loading…
Reference in a new issue