From c5e1c42cc48288f4c9d3833fa66b49d52fac6bab Mon Sep 17 00:00:00 2001 From: Roland Thomas Date: Wed, 8 Feb 2023 23:20:18 -0500 Subject: [PATCH] Update --- .config/fish/abbreviations.fish | 1 - .config/fish/config.fish | 4 ++-- .config/fish/functions/cf.fish | 3 +++ .vimrc | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .config/fish/functions/cf.fish diff --git a/.config/fish/abbreviations.fish b/.config/fish/abbreviations.fish index 0d572f9..358e8c0 100644 --- a/.config/fish/abbreviations.fish +++ b/.config/fish/abbreviations.fish @@ -5,7 +5,6 @@ abbr ip 'ip --color=auto' abbr gs 'git status' abbr gcm 'git commit -m' -abbr config 'git --git-dir=$HOME/config-files/ --work-tree=$HOME' abbr .. 'cd ..' abbr vi 'vim' diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 87ce294..81dcfac 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,13 +1,13 @@ +# Exports set --export EDITOR "vim" set --export PF_INFO "ascii title os host kernel uptime pkgs memory wm shell editor palette" +set -x MANPAGER "sh -c 'col -bx | bat -l man -p'" if status is-interactive # Commands to run in interactive sessions can go here end fish_add_path "$HOME/.local/bin" -export PYTHONPATH="$HOME/Documents/Course-Material/module-o/book/src" -export MANPAGER="sh -c 'col -bx | bat -l man -p'" source "$HOME/.config/fish/abbreviations.fish" diff --git a/.config/fish/functions/cf.fish b/.config/fish/functions/cf.fish new file mode 100644 index 0000000..4ab3d25 --- /dev/null +++ b/.config/fish/functions/cf.fish @@ -0,0 +1,3 @@ +function cf + git --git-dir=$HOME/config-files --work-tree=$HOME $argv +end diff --git a/.vimrc b/.vimrc index 284b22a..08273d3 100644 --- a/.vimrc +++ b/.vimrc @@ -18,6 +18,8 @@ Plug 'itchyny/lightline.vim' Plug 'ap/vim-css-color' Plug 'ycm-core/YouCompleteMe' Plug 'preservim/nerdtree' +Plug 'tpope/vim-commentary' +Plug 'tpope/vim-surround' call plug#end() colorscheme nord