feat: enable live preview
This commit is contained in:
parent
e5f5d2c785
commit
e479146307
|
@ -24,7 +24,8 @@ if status is-interactive
|
||||||
set -gx LS_COLORS 'ow=34;42;40'
|
set -gx LS_COLORS 'ow=34;42;40'
|
||||||
|
|
||||||
# === nnn configuration
|
# === nnn configuration
|
||||||
set -gx NNN_PLUG 'c:fzcd;m:nmount;x:!chmod +x $nnn;d:dragdrop'
|
set -gx NNN_PLUG 'c:fzcd;m:nmount;x:!chmod +x $nnn;d:dragdrop;p:preview-tui'
|
||||||
|
set -gx NNN_FIFO /tmp/nnn.fifo
|
||||||
|
|
||||||
# === bat configuration
|
# === bat configuration
|
||||||
set -gx BAT_THEME 'OneHalfDark'
|
set -gx BAT_THEME 'OneHalfDark'
|
||||||
|
|
|
@ -381,6 +381,7 @@ autocmd BufWritePre *.go :OR
|
||||||
nnoremap <leader>tt :FloatermNew nnn<CR>
|
nnoremap <leader>tt :FloatermNew nnn<CR>
|
||||||
let g:floaterm_autohide=1
|
let g:floaterm_autohide=1
|
||||||
let g:floaterm_autoclose=1
|
let g:floaterm_autoclose=1
|
||||||
|
let g:floaterm_shell='fish'
|
||||||
let g:floaterm_opener='edit'
|
let g:floaterm_opener='edit'
|
||||||
let g:floaterm_keymap_new = '<F7>'
|
let g:floaterm_keymap_new = '<F7>'
|
||||||
let g:floaterm_keymap_prev = '<F8>'
|
let g:floaterm_keymap_prev = '<F8>'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user