commit 7d36de48f8147a298f87be1a91e469d863e31b58
parent 9bcb98be741838a66be0dff9f9c32bd142927787
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Thu, 9 Apr 2026 03:18:13 +0530
parent 9bcb98be741838a66be0dff9f9c32bd142927787
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Thu, 9 Apr 2026 03:18:13 +0530
vim: Fix state variable throwing error Add FUZZER_ARGS env variable vim: When pressing Enter on netrw, it will open the file on the last buffer instead of the current one Add unimpaired and vinegar plugins from tpope Add FUZZER_ARGS for pfs.cmd cmd/packages.list: Add lftp
6 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/.config/cmd/packages.list b/.config/cmd/packages.list @@ -20,6 +20,7 @@ innounp jdupes jq less +lftp lynx m4 make @@ -44,4 +45,3 @@ yarn zbar zbar-vfw zip -
diff --git a/.config/cmd/setup.cmd b/.config/cmd/setup.cmd @@ -122,6 +122,7 @@ rem Apply config patches rem TODO Use mklink instead of xcopy, it will prevent overriding changed files in the destination dir. xcopy /S /E /Y %XDG_HOME%\.config\cmd\patch %XDG_HOME%\ +rem Install "UNIX" interface if not exist "%SYSTEMDRIVE%\bin" ( mkdir %SYSTEMDRIVE%\bin ) if EXIST "%SCOOP%\apps\busybox\current\busybox.exe" ( @@ -130,11 +131,8 @@ if EXIST "%SCOOP%\apps\busybox\current\busybox.exe" ( call :update_shim C:\bin\sh.shim "C:\bin\busybox.exe" "sh -l" ) -if EXIST "%SCOOP%\apps\lynx\current\lynx.exe" ( - call :update_shim "%SCOOP%\shims\lynx.shim" "%SCOOP%\apps\lynx\current\lynx.exe" "-cfg %XDG_CONFIG_HOME%\lynx\lynx.cfg" -) - rem TODO Report this in scoop and remove this line +rem TODO Or use custom installer for gpg if EXIST %SCOOP%\apps\gpg\current\bin\gpgconf.ctl ( del %SCOOP%\apps\gpg\current\bin\gpgconf.ctl )
diff --git a/.config/profile.cmd b/.config/profile.cmd @@ -19,9 +19,12 @@ doskey pwd=cd doskey rm=del $* doskey x=7z x $* doskey killall=taskkill /f /im $* -set FM=vifm +doskey ?=lynx -cfg "%XDG_CONFIG_HOME%\lynx\lynx.cfg" $* + +rem FIXME This has the draw back that, if scripts are launched in %WINDIR%\System32, +rem like "Open command prompt" or make, it will just cd into %USERPROFILE% +IF /I "%CD%"=="%WINDIR%\System32" (cd /D "%USERPROFILE%") -rem FIXME Enabling this causes right click menus like "Open command prompt" not to work -rem IF /I x"%COMSPEC%"==x%CMDCMDLINE% (cd /D %USERPROFILE%) +set FM=vifm if exist "%XDG_CONFIG_HOME%\cmd\unstaged.cmd" @call %XDG_CONFIG_HOME%\cmd\unstaged.cmd
diff --git a/.config/vim/plugins b/.config/vim/plugins @@ -24,6 +24,8 @@ torrancew/vim-openscad tpope/vim-sensible tpope/vim-sleuth tpope/vim-speeddating +tpope/vim-unimpaired +tpope/vim-vinegar travisjeffery/vim-auto-mkdir will133/vim-dirdiff @@ -61,12 +63,12 @@ will133/vim-dirdiff #rcarriga/nvim-dap-ui #terrortylor/nvim-comment #tommcdo/vim-ninja-feet -#tomtom/tlib_vim -#tomtom/ttodo_vim -#tpope/vim-vinegar +#tomtom/tlib_vim # dependency of ttodo_vim +#tomtom/ttodo_vim # research ongoing #vim-scripts/SearchComplete #vim-scripts/gitignore #vim-scripts/vimacs #xolox/vim-easytags #xolox/vim-misc #yegappan/searchcomplete +#weynhamz/vim-plugin-minibufexpl # shows all the buffers atop, but I don't need it most of the time as I just use :ls, or browes with :Ex or do fuzzy search these days
diff --git a/.local/bin/cmd/pfs.cmd b/.local/bin/cmd/pfs.cmd @@ -15,7 +15,7 @@ if not exist "%PASSWORD_STORE_DIR%" ( exit /b 1 ) -for /f %%i in ('"%PASSTOOL% ls -f | %FUZZER%"') do ( +for /f %%i in ('"%PASSTOOL% ls -f | %FUZZER%" %FUZZER_ARGS%') do ( set selected_pass=%%i )
diff --git a/.vimrc b/.vimrc @@ -5,10 +5,10 @@ let $vdata = expand((empty($XDG_DATA_HOME) ? "~/.local/share" : "$XDG_DATA_HOM let $vstate = expand((empty($XDG_STATE_HOME) ? "~/.local/state" : "$XDG_STATE_HOME") . "/vim") if isdirectory($vstate) - set viminfofile=$vstate/viminfo - set backupdir=$vstate/backup - set directory=$vstate/swap - set undodir=$vstate/undo + set viminfofile^=$vstate/viminfo + set backupdir^=$vstate/backup + set directory^=$vstate/swap + set undodir^=$vstate/undo set viewdir=$vstate/view let g:netrw_home = expand($vstate . "/netrw") endif @@ -70,8 +70,9 @@ set nospell " Netrw customization let g:netrw_banner = 0 -let g:netrw_liststyle = 3 +let g:netrw_browse_split = 4 let g:netrw_fastbrowse= 2 +let g:netrw_liststyle = 3 let g:netrw_preview = 1 let g:netrw_winsize = 30
: bharatvaj/dotfiles