diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-08-12 16:26:37 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-08-12 16:26:37 +0800 |
| commit | b728e3eb1e5be9fa50c6e3a5c480ef0b0bafe26d (patch) | |
| tree | e05e02d46b9e60ef8f43290c96bf110007d0b0a5 | |
| parent | d1875182a797f23ced226cb50ec6b5956174c592 (diff) | |
Update
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | X11/openbox/rc.xml | 6 | ||||
| -rw-r--r-- | init.vim (renamed from vimrc) | 16 |
3 files changed, 16 insertions, 10 deletions
| @@ -15,9 +15,9 @@ tig: | |||
| 15 | ln -sf `pwd`/tigrc ~/.tigrc | 15 | ln -sf `pwd`/tigrc ~/.tigrc |
| 16 | 16 | ||
| 17 | vim: | 17 | vim: |
| 18 | ln -sf `pwd`/vimrc ~/.vimrc | 18 | ln -sf `pwd`/init.vim ~/.vimrc |
| 19 | # vim-plug | 19 | # vim-plug |
| 20 | curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | 20 | # curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |
| 21 | 21 | ||
| 22 | gpg: | 22 | gpg: |
| 23 | ln -sf `pwd`/misc/gpg-agent ~/.gnupg/gpg-agent.conf | 23 | ln -sf `pwd`/misc/gpg-agent ~/.gnupg/gpg-agent.conf |
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index 65ffdf2..aa0ff0d 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
| @@ -471,17 +471,17 @@ | |||
| 471 | <!-- Brightness Control --> | 471 | <!-- Brightness Control --> |
| 472 | <keybind key="XF86MonBrightnessUp"> | 472 | <keybind key="XF86MonBrightnessUp"> |
| 473 | <action name="Execute"> | 473 | <action name="Execute"> |
| 474 | <command>brightness --inc</command> | 474 | <command>ob-brightness --inc</command> |
| 475 | </action> | 475 | </action> |
| 476 | </keybind> | 476 | </keybind> |
| 477 | <keybind key="S-XF86MonBrightnessUp"> | 477 | <keybind key="S-XF86MonBrightnessUp"> |
| 478 | <action name="Execute"> | 478 | <action name="Execute"> |
| 479 | <command>brightness --inc 1</command> | 479 | <command>ob-brightness --inc 1</command> |
| 480 | </action> | 480 | </action> |
| 481 | </keybind> | 481 | </keybind> |
| 482 | <keybind key="XF86MonBrightnessDown"> | 482 | <keybind key="XF86MonBrightnessDown"> |
| 483 | <action name="Execute"> | 483 | <action name="Execute"> |
| 484 | <command>brightness --dec</command> | 484 | <command>ob-brightness --dec</command> |
| 485 | </action> | 485 | </action> |
| 486 | </keybind> | 486 | </keybind> |
| 487 | <keybind key="S-XF86MonBrightnessDown"> | 487 | <keybind key="S-XF86MonBrightnessDown"> |
| @@ -1,8 +1,8 @@ | |||
| 1 | " Avoid load this script twice | 1 | " Avoid load this script twice |
| 2 | if get(s:, 'loaded', 0) != 0 | 2 | if get(s:, 'loaded', 0) != 0 |
| 3 | finish | 3 | finish |
| 4 | else | 4 | else |
| 5 | let s:loaded = 1 | 5 | let s:loaded = 1 |
| 6 | endif | 6 | endif |
| 7 | 7 | ||
| 8 | " Get current dir | 8 | " Get current dir |
| @@ -30,13 +30,19 @@ source ~/.vim/vim-init/init/init-keymaps.vim | |||
| 30 | " source ~/.vim/vim-init/init/init-style.vim | 30 | " source ~/.vim/vim-init/init/init-style.vim |
| 31 | 31 | ||
| 32 | " Extra config for different contexts | 32 | " Extra config for different contexts |
| 33 | source ~/.vim/vim-init/init/init-config.vim | 33 | " source ~/.vim/vim-init/init/init-config.vim |
| 34 | 34 | ||
| 35 | " 设定 tabsize | 35 | " 设定 tabsize |
| 36 | source ~/.vim/vim-init/init/init-tabsize.vim | 36 | " source ~/.vim/vim-init/init/init-tabsize.vim |
| 37 | 37 | ||
| 38 | " Plugins | 38 | " Plugins |
| 39 | source ~/.vim/vim-init/init/init-plugins.vim | 39 | |
| 40 | " Neovim | ||
| 41 | if has('nvim') | ||
| 42 | source ~/.config/nvim/nvim.lua | ||
| 43 | else | ||
| 44 | source ~/.vim/vim-init/init/init-plugins.vim | ||
| 45 | endif | ||
| 40 | 46 | ||
| 41 | " Set UI theme | 47 | " Set UI theme |
| 42 | colorscheme desert | 48 | colorscheme desert |