From f958dac6e82902568c98edfe9cb09001faffc737 Mon Sep 17 00:00:00 2001 From: _N0x Date: Thu, 8 Apr 2021 23:15:13 +0200 Subject: [PATCH] stuff... --- nvim/.config/nvim/init.vim | 2 +- nvim/.local/share/nvim/site/autoload/plug.vim | 11 ++++++++++- xresources/.xinitrc | 2 +- zsh/.oh-my-zsh/cache/.zsh-update | 2 +- zsh/.zshrc | 1 + 5 files changed, 14 insertions(+), 4 deletions(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 72b63cb..058b06b 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -25,7 +25,7 @@ Plug 'preservim/nerdtree', {'on': 'NERDTreeToggle'} Plug 'arcticicestudio/nord-vim' Plug 'mg979/vim-visual-multi' Plug 'mbbill/undotree' -#Plug 'hugolgst/vimsence' +"Plug 'hugolgst/vimsence'" call plug#end() " colorscheme stuff " diff --git a/nvim/.local/share/nvim/site/autoload/plug.vim b/nvim/.local/share/nvim/site/autoload/plug.vim index 9c296ac..2b89b5a 100644 --- a/nvim/.local/share/nvim/site/autoload/plug.vim +++ b/nvim/.local/share/nvim/site/autoload/plug.vim @@ -935,7 +935,7 @@ function! s:prepare(...) call s:new_window() endif - nnoremap q :if b:plug_preview==1pcendifbd + nnoremap q :call close_pane() if a:0 == 0 call s:finish_bindings() endif @@ -957,6 +957,15 @@ function! s:prepare(...) endif endfunction +function! s:close_pane() + if b:plug_preview == 1 + pc + let b:plug_preview = -1 + else + bd + endif +endfunction + function! s:assign_name() " Assign buffer name let prefix = '[Plugins]' diff --git a/xresources/.xinitrc b/xresources/.xinitrc index 5f3b497..dec0ba9 100644 --- a/xresources/.xinitrc +++ b/xresources/.xinitrc @@ -45,7 +45,7 @@ picom -f & nitrogen --restore & # start autolocker -xautolock -time 5 -locker slock & +xautolock -time 10 -locker slock & # fix java for java is being java.... export AWT_TOOLKIT=MToolkit diff --git a/zsh/.oh-my-zsh/cache/.zsh-update b/zsh/.oh-my-zsh/cache/.zsh-update index e909582..c7530fe 100644 --- a/zsh/.oh-my-zsh/cache/.zsh-update +++ b/zsh/.oh-my-zsh/cache/.zsh-update @@ -1 +1 @@ -LAST_EPOCH=18677 +LAST_EPOCH=18725 diff --git a/zsh/.zshrc b/zsh/.zshrc index 66ecd88..89824f5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -15,6 +15,7 @@ fi alias nv="nvim" alias vim="nvim" alias sc="maim -s ~/Pictures/$(date +%s).png" +alias ff="firefox-nightly" # exporty export EDITOR=nvim