This commit is contained in:
_N0x 2021-04-08 23:15:13 +02:00
parent 33a06dbf63
commit f958dac6e8
5 changed files with 14 additions and 4 deletions

View File

@ -25,7 +25,7 @@ Plug 'preservim/nerdtree', {'on': 'NERDTreeToggle'}
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'
Plug 'mg979/vim-visual-multi' Plug 'mg979/vim-visual-multi'
Plug 'mbbill/undotree' Plug 'mbbill/undotree'
#Plug 'hugolgst/vimsence' "Plug 'hugolgst/vimsence'"
call plug#end() call plug#end()
" colorscheme stuff " " colorscheme stuff "

View File

@ -935,7 +935,7 @@ function! s:prepare(...)
call s:new_window() call s:new_window()
endif endif
nnoremap <silent> <buffer> q :if b:plug_preview==1<bar>pc<bar>endif<bar>bd<cr> nnoremap <silent> <buffer> q :call <SID>close_pane()<cr>
if a:0 == 0 if a:0 == 0
call s:finish_bindings() call s:finish_bindings()
endif endif
@ -957,6 +957,15 @@ function! s:prepare(...)
endif endif
endfunction endfunction
function! s:close_pane()
if b:plug_preview == 1
pc
let b:plug_preview = -1
else
bd
endif
endfunction
function! s:assign_name() function! s:assign_name()
" Assign buffer name " Assign buffer name
let prefix = '[Plugins]' let prefix = '[Plugins]'

View File

@ -45,7 +45,7 @@ picom -f &
nitrogen --restore & nitrogen --restore &
# start autolocker # start autolocker
xautolock -time 5 -locker slock & xautolock -time 10 -locker slock &
# fix java for java is being java.... # fix java for java is being java....
export AWT_TOOLKIT=MToolkit export AWT_TOOLKIT=MToolkit

View File

@ -1 +1 @@
LAST_EPOCH=18677 LAST_EPOCH=18725

View File

@ -15,6 +15,7 @@ fi
alias nv="nvim" alias nv="nvim"
alias vim="nvim" alias vim="nvim"
alias sc="maim -s ~/Pictures/$(date +%s).png" alias sc="maim -s ~/Pictures/$(date +%s).png"
alias ff="firefox-nightly"
# exporty # exporty
export EDITOR=nvim export EDITOR=nvim