nvim qol
This commit is contained in:
parent
f53c254f88
commit
a501721807
4 changed files with 13 additions and 7 deletions
|
|
@ -243,7 +243,7 @@ bar {
|
||||||
# Gaps
|
# Gaps
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
gaps vertical 10
|
gaps vertical 10
|
||||||
gaps outer 30
|
gaps outer 10
|
||||||
smart_gaps off
|
smart_gaps off
|
||||||
|
|
||||||
bindsym $mod+Shift+s gaps outer all plus 5
|
bindsym $mod+Shift+s gaps outer all plus 5
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ label=
|
||||||
command=sensors | grep Core | head -n 1 | cut -d ' ' -f 10 | cut -d '+' -f 2
|
command=sensors | grep Core | head -n 1 | cut -d ' ' -f 10 | cut -d '+' -f 2
|
||||||
interval=10
|
interval=10
|
||||||
|
|
||||||
[email]
|
# [email]
|
||||||
command=mbsync -aq && ls /home/dominic/.local/share/mail/me@domdit.com/INBOX/new/ | wc -l
|
# command=mbsync -aq && ls /home/dominic/.local/share/mail/me@domdit.com/INBOX/new/ | wc -l
|
||||||
interval=3600
|
# interval=3600
|
||||||
label=
|
# label=
|
||||||
|
|
||||||
[rss]
|
[rss]
|
||||||
command=newsboat -x print-unread | sed 's/ /\n/g' | head -n 1
|
command=newsboat -x print-unread | sed 's/ /\n/g' | head -n 1
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ vim.o.scrolloff = 10
|
||||||
vim.g.border = "rounded"
|
vim.g.border = "rounded"
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
|
|
||||||
|
vim.o.timeoutlen = 150
|
||||||
vim.o.swapfile = false
|
vim.o.swapfile = false
|
||||||
vim.o.mouse = "a"
|
vim.o.mouse = "a"
|
||||||
vim.o.undofile = true
|
vim.o.undofile = true
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,13 @@ vim.keymap.set("n", "<leader>x", ":BufferClose<CR>")
|
||||||
-- (I need both options, one for windows, one for linux)
|
-- (I need both options, one for windows, one for linux)
|
||||||
vim.keymap.set("n", "<A-h>", ":BufferPrevious<CR>")
|
vim.keymap.set("n", "<A-h>", ":BufferPrevious<CR>")
|
||||||
vim.keymap.set("n", "<A-l>", ":BufferNext<CR>")
|
vim.keymap.set("n", "<A-l>", ":BufferNext<CR>")
|
||||||
vim.keymap.set("n", "<A-,>", "<Cmd>BufferPrevious<CR>")
|
vim.keymap.set("n", "<A-u>", "<Cmd>BufferPrevious<CR>")
|
||||||
vim.keymap.set("n", "<A-.>", "<Cmd>BufferNext<CR>")
|
vim.keymap.set("n", "<A-i>", "<Cmd>BufferNext<CR>")
|
||||||
|
vim.keymap.set("n", "<A-U>", "<Cmd>BufferPrevious<CR>")
|
||||||
|
vim.keymap.set("n", "<A-I>", "<Cmd>BufferNext<CR>")
|
||||||
|
vim.keymap.set("n", "<A-H>", "<Cmd>BufferMovePrevious<CR>")
|
||||||
|
vim.keymap.set("n", "<A-L>", "<Cmd>BufferMoveNext<CR>")
|
||||||
|
vim.keymap.set("n", "<A-X>", "<Cmd>BufferCloseAllButCurrent<CR>")
|
||||||
|
|
||||||
-- format
|
-- format
|
||||||
vim.keymap.set("n", "<leader>f", ":lua vim.lsp.buf.format()<CR>")
|
vim.keymap.set("n", "<leader>f", ":lua vim.lsp.buf.format()<CR>")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue