This commit is contained in:
Henrik Bakken
2021-03-04 20:24:40 +01:00
parent c452826815
commit 7865c357ef
13 changed files with 117 additions and 99 deletions
+3 -12
View File
@@ -3,13 +3,13 @@ set -x EDITOR /usr/bin/nvim
set -x BROWSER /usr/bin/chromium
set -x QT_QPA_PLATFORMTHEME "qt5ct"
set -x GTK2_RC_FILES "$HOME/.gtkrc-2.0"
set -x PYTHONBREAKPOINT ipdb.set_trace
set -x JAVA_HOME "/usr/lib/jvm/java-14-openjdk/"
set -x JAVA_HOME "/usr/lib/jvm/default/"
set -x PYTHONBREAKPOINT pudb.set_trace
# cuda stuff
set -x CUDA_HOME /opt/cuda
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH:$CUDA_HOME/lib64
set -x PATH $CUDA_HOME/bin:/home/hjalmarlucius/.local/bin/:$PATH
set -Ua fish_user_paths /home/hjalmarlucius/.local/bin/
# Base16 Shell
if status --is-interactive
@@ -17,14 +17,5 @@ if status --is-interactive
source "$BASE16_SHELL/profile_helper.fish"
end
# MKL AMD fix
set -x MKL_DEBUG_CPU_TYPE 5
# fzf bindings
set -U FZF_LEGACY_KEYBINDINGS 0
function fish_user_key_bindings
for mode in insert default visual
bind -M $mode \cf forward-char
end
end
+11 -5
View File
@@ -1,10 +1,16 @@
function fish_user_key_bindings
for mode in insert default visual
bind -M $mode \cf forward-char
end
bind --preset _ beginning-of-line
bind \eh __fzf_reverse_isearch
bind \eF __fzf_open
bind -M insert \ec '__fzf_cd --hidden'
bind -M insert \ep __fzf_find_file
bind -M insert \ef '__fzf_open --editor'
bind -M insert \ew __fzf_reverse_isearch
bind -M insert \eo '__fzf_cd --hidden'
bind -M insert \eF __fzf_find_file
bind -M insert \ef __fzf_open
end
fzf_key_bindings
function ll --description 'List contents of directory using long format'
ls -lha $argv
end