A few random fixes
9257efa17c4c35aba865ad9aca87ed0e519b550f
1 parent
8fe72984
.profile
+2 -1
| 2 | 2 | ||
| 3 | 3 | if command -v keychain >/dev/null; then |
|
| 4 | 4 | eval $(keychain --eval -Q --quiet ~/.ssh/id_rsa ~/.radicle/keys/radicle ~/.ssh/alexis.radiant.computer) |
|
| 5 | 5 | fi |
|
| 6 | 6 | ||
| 7 | - | export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.gcloud/bin:~/.cabal/bin:~/.radicle/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:~/.npm-packages/bin:$PATH |
|
| 7 | + | export PATH=~/bin:~/.local/bin:~/.yarn/bin:~/.cabal/bin:~/.radicle/bin:~/.cargo/bin:~/.gem/ruby/2.6.0/bin:$PATH |
|
| 8 | 8 | export PATH=$PATH:~/.foundry/bin |
|
| 9 | + | export PATH=$PATH:~/.npm/bin |
|
| 9 | 10 | export PATH=$PATH:~/.local/share/gem/ruby/3.0.0/bin |
|
| 10 | 11 | export NODE_PATH=/usr/lib/node_modules |
|
| 11 | 12 | export EDITOR=nvim |
|
| 12 | 13 | export VISUAL=nvim |
|
| 13 | 14 | export MOZ_USE_XINPUT2=1 # Pixel scrolling in Firefox |
.vimrc
+4 -4
| 86 | 86 | ||
| 87 | 87 | if !has("nvim") |
|
| 88 | 88 | set nocompatible " Don't try to be compatible with vi |
|
| 89 | 89 | set ttyfast |
|
| 90 | 90 | set t_Co=256 |
|
| 91 | + | else |
|
| 92 | + | " Number column |
|
| 93 | + | let &statuscolumn='%=%s%{v:lnum} ' |
|
| 91 | 94 | endif |
|
| 92 | 95 | ||
| 93 | - | " Number column |
|
| 94 | - | let &statuscolumn='%=%s%{v:lnum} ' |
|
| 95 | - | ||
| 96 | 96 | let mapleader = "\<Space>" |
|
| 97 | 97 | ||
| 98 | 98 | " vim.wiki |
|
| 99 | 99 | let g:wiki_filetypes = ['wiki'] |
|
| 100 | 100 |
| 153 | 153 | au BufRead,BufNewFile *.rs setf rust |
|
| 154 | 154 | au BufRead,BufNewFile *.mustache setf mustache |
|
| 155 | 155 | au BufRead,BufNewFile *.tera setf htmldjango |
|
| 156 | 156 | au BufRead,BufNewFile *.wiki setf wiki |
|
| 157 | 157 | au BufRead,BufNewFile *.r setf radiance |
|
| 158 | - | au BufRead,BufNewFile *.rir setf rir |
|
| 158 | + | au BufRead,BufNewFile *.ril setf ril |
|
| 159 | 159 | au BufRead,BufNewFile *.h setf c |
|
| 160 | 160 | ||
| 161 | 161 | " If no file-type is detected, set to plain. |
|
| 162 | 162 | autocmd BufEnter * if &filetype == "" | setlocal ft=plain | endif |
|
| 163 | 163 |
.xinitrc
+1 -2
| 42 | 42 | ||
| 43 | 43 | if command -v xbindkeys >/dev/null 2>&1; then |
|
| 44 | 44 | xbindkeys |
|
| 45 | 45 | fi |
|
| 46 | 46 | ||
| 47 | - | # `dbus-launch` is required for flameshot. |
|
| 48 | - | exec dbus-launch spectrwm |
|
| 47 | + | exec dbus-run-session spectrwm |