diff options
-rw-r--r-- | .config/hypr/conf/keybinds.conf | 4 | ||||
-rw-r--r-- | .config/nvim/after/plugin/autocmds.lua | 17 | ||||
-rw-r--r-- | .config/nvim/after/plugin/autocmds.vim | 5 | ||||
-rw-r--r-- | .config/user-dirs.dirs | 2 |
4 files changed, 10 insertions, 18 deletions
diff --git a/.config/hypr/conf/keybinds.conf b/.config/hypr/conf/keybinds.conf index b192c5d..82b26ba 100644 --- a/.config/hypr/conf/keybinds.conf +++ b/.config/hypr/conf/keybinds.conf | |||
@@ -38,8 +38,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous | |||
38 | # Optionally, customize slurp's appearance | 38 | # Optionally, customize slurp's appearance |
39 | env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff | 39 | env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff |
40 | 40 | ||
41 | bind = ,Print, exec, ~/.local/bin/screenshot.sh | 41 | bind = SHIFT, Print, exec, grimblast copysave area |
42 | bind = SHIFT, Print, exec, grimblast copy area | 42 | bind = ,Print, exec, grimblast copy area |
43 | 43 | ||
44 | # Move focus | 44 | # Move focus |
45 | bind = $mainMod, code:43, movefocus, l | 45 | bind = $mainMod, code:43, movefocus, l |
diff --git a/.config/nvim/after/plugin/autocmds.lua b/.config/nvim/after/plugin/autocmds.lua index 3751cd4..3356a49 100644 --- a/.config/nvim/after/plugin/autocmds.lua +++ b/.config/nvim/after/plugin/autocmds.lua | |||
@@ -1,3 +1,5 @@ | |||
1 | -- https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua | ||
2 | |||
1 | local function augroup(name) | 3 | local function augroup(name) |
2 | return vim.api.nvim_create_augroup("lazyvim_" .. name, { clear = true }) | 4 | return vim.api.nvim_create_augroup("lazyvim_" .. name, { clear = true }) |
3 | end | 5 | end |
@@ -33,21 +35,6 @@ vim.api.nvim_create_autocmd( | |||
33 | } | 35 | } |
34 | ) | 36 | ) |
35 | 37 | ||
36 | -- Set vimwiki filetype | ||
37 | vim.api.nvim_create_autocmd( | ||
38 | { | ||
39 | "BufNewFile", | ||
40 | "BufRead", | ||
41 | }, | ||
42 | { | ||
43 | pattern = "PKGBUILD", | ||
44 | callback = function() | ||
45 | local buf = vim.api.nvim_get_current_buf() | ||
46 | vim.api.nvim_set_option_value("filetype", "*.wiki", { buf = buf }) | ||
47 | end | ||
48 | } | ||
49 | ) | ||
50 | |||
51 | -- Set buku-edit filetype | 38 | -- Set buku-edit filetype |
52 | vim.api.nvim_create_autocmd( | 39 | vim.api.nvim_create_autocmd( |
53 | { | 40 | { |
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim index ae55046..21c7bc4 100644 --- a/.config/nvim/after/plugin/autocmds.vim +++ b/.config/nvim/after/plugin/autocmds.vim | |||
@@ -1,2 +1,7 @@ | |||
1 | " I don't know how to port this yet | 1 | " I don't know how to port this yet |
2 | autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif | 2 | autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif |
3 | |||
4 | augroup vimwiki | ||
5 | autocmd! | ||
6 | autocmd BufRead,BufNewFile *.wiki set filetype=vimwiki | ||
7 | augroup END | ||
diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs index 7723b1b..e13a65c 100644 --- a/.config/user-dirs.dirs +++ b/.config/user-dirs.dirs | |||
@@ -13,4 +13,4 @@ XDG_PUBLICSHARE_DIR="$HOME/.local/share/publicshare" | |||
13 | XDG_MUSIC_DIR="$HOME/music" | 13 | XDG_MUSIC_DIR="$HOME/music" |
14 | XDG_PICTURES_DIR="$HOME/desk/pics" | 14 | XDG_PICTURES_DIR="$HOME/desk/pics" |
15 | XDG_VIDEOS_DIR="$HOME/desk/vids" | 15 | XDG_VIDEOS_DIR="$HOME/desk/vids" |
16 | XDG_SCREENSHOTS_DIR="$HOME/pics/screenshots" | 16 | XDG_SCREENSHOTS_DIR="$HOME/desk/pics/screenshots" |