diff options
| -rw-r--r-- | .bashrc | 7 | ||||
| -rw-r--r-- | .config/i3/config | 9 | ||||
| -rw-r--r-- | .profile | 6 | ||||
| -rw-r--r-- | .vimrc | 6 |
4 files changed, 21 insertions, 7 deletions
@@ -41,6 +41,7 @@ export TERMINAL=xt alias cl='cf xft:Mono:size=12' alias ls='ls --color=auto' alias ll='ls -alF' +alias op='xdg-open' alias git='hub' alias go11='go1.11.13' alias go12='go1.12.9' @@ -64,12 +65,16 @@ alias by='go build cmd/yaegi/yaegi.go' alias cy='cd ~/go/src/github.com/containous/yaegi' alias ty='go test -v -short ./interp' alias ya='rlwrap -pblue ./yaegi' -alias dya='YAEGI_AST_DOT=1 YAEGI_CFG_DOT=1 ya' +alias dya='YAEGI_AST_DOT=1 YAEGI_CFG_DOT=1 ./yaegi' ws() (cd ~/Wiki && git status --short) export -f ws #PS1='[\u@\h \W]\$ ' +# fzf +. /usr/share/fzf/completion.bash +. /usr/share/fzf/key-bindings.bash + # Display git status in prompt . ~/.bash-powerline.sh diff --git a/.config/i3/config b/.config/i3/config index 609bd3e..58a48f3 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -26,13 +26,14 @@ font fixed # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. #exec --no-startup-id nm-applet #exec --no-startup-id sudo wpa_gui -t -i wlo1 +# pulse audio systray icon exec --no-startup-id pasystray # Use pactl to adjust volume in PulseAudio. @@ -46,6 +47,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU for_window [class="Arandr"] floating enable for_window [class="Brave-browser"] floating enable for_window [class="Chromium"] floating enable +for_window [instance="Task Manager - Chromium"] floating enable for_window [instance="DOTTY"] floating enable for_window [class="discord"] floating enable for_window [class="display"] floating enable @@ -53,6 +55,7 @@ for_window [class="feh"] floating enable for_window [class="firefox"] floating enable for_window [class="gnuplot_qt"] floating enable for_window [class="Geeqie"] floating enable +for_window [class="Gitk"] floating enable for_window [class="Keybase"] floating enable for_window [class="MuPDF"] floating enable for_window [class="Pavucontrol"] floating enable @@ -72,9 +75,9 @@ bindsym button3 floating toggle floating_modifier $mod # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec xt bindsym F9 exec chromium -bindsym F10 exec i3-sensible-terminal +bindsym F10 exec xt # kill focused window bindsym $mod+Shift+a kill @@ -1,10 +1,10 @@ # ~/.profile -export PATH=~/bin:$PATH:~/go/bin +PATH=~/bin:$PATH:~/go/bin -[ "${SHELL##*/}" = bash ] && [ -f ~/.bashrc ] && . ~/.bashrc +[ "${SHELL##*/}" = bash ] && . ~/.bashrc -# Last action: auto start X11 when logged on first terminal +# Last action: auto start X11 when logged on first console case $HOSTNAME in (swift) [ "$(tty)" != /dev/tty1 ] || exec startx ;; esac @@ -3,6 +3,7 @@ set nocp filetype plugin on call plug#begin() +Plug 'bilalq/lite-dfm' Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' } call plug#end() @@ -54,6 +55,11 @@ noremap <buffer> @ :s,^#,, " hi MatchParen cterm=reverse term=reverse ctermfg=white " +" Fix spell highlighting +hi clear SpellBad +hi SpellBad cterm=underline +hi SpellBad gui=undercurl + noremap <leader>o :!xdg-open <cfile>&<cr><cr> noremap <C-g> :tag <c-r><c-w><cr> |
