From 2bde8b6aed1ccee7d4447080d2cdd9f070190f5c Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sun, 23 Jan 2022 15:58:41 +0100 Subject: [PATCH] More stuff --- dotfiles/.config/nvim/init.vim | 34 +++++++++++++++++++++++----------- mickeos.sh | 26 ++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 11 deletions(-) create mode 100755 mickeos.sh diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 93b3731..9491d5a 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -33,15 +33,15 @@ nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags -" NERDTree settings -" Start NERDTree and put the cursor back in the other window. -autocmd VimEnter * NERDTree | wincmd p -" If another buffer tries to replace NERDTree, put it in the other window, and bring back NERDTree. -autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_tree_\d\+' && winnr('$') > 1 | - \ let buf=bufnr() | buffer# | execute "normal! \w" | execute 'buffer'.buf | endif -" Exit Vim if NERDTree is the only window remaining in the only tab. -autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif - +"" NERDTree settings +"" Start NERDTree and put the cursor back in the other window. +"autocmd VimEnter * NERDTree | wincmd p +"" If another buffer tries to replace NERDTree, put it in the other window, and bring back NERDTree. +"autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_tree_\d\+' && winnr('$') > 1 | +" \ let buf=bufnr() | buffer# | execute "normal! \w" | execute 'buffer'.buf | endif +"" Exit Vim if NERDTree is the only window remaining in the only tab. +"autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif +" " lsp diagnostics lua < +Depends: i3 +Recommends: lxqt +Provides: xfwm4,audacious,audacious-plugins,audacious-plugins-data,lxqt-panel,lxqt-panel-l10n,qterminal,qterminal-l10n,qtermwidget5-data,smplayer,smplayer-l10n,smplayer-themes,smtube + +Description: Fake it till you make it +' > ${filename} + +equivs-build ${filename} +sudo dpkg -i *.deb +cp *.deb ~/ +sudo apt -y install lxqt kitty +cd ${olddir} +rm -r ${dir}