foot: unbound C-S-n, bits and bops
This commit is contained in:
@@ -49,3 +49,6 @@ bright5=FBADDD
|
||||
bright6=65E7F1
|
||||
bright7=FFFFFF
|
||||
|
||||
[key-bindings]
|
||||
spawn-terminal=none
|
||||
|
||||
|
||||
@@ -39,8 +39,8 @@ vim.keymap.set("n", "<S-Left>", ":vertical resize -1<CR>", opts)
|
||||
vim.keymap.set("n", "<S-Right>", ":vertical resize +1<CR>", opts)
|
||||
|
||||
-- Buffers
|
||||
-- vim.keymap.set("n", "<C-S-j>", ":bnext<CR>", opts)
|
||||
-- vim.keymap.set("n", "<C-S-k>", ":bprevious<CR>", opts)
|
||||
-- vim.keymap.set("n", "<C-S-f>", ":bnext<CR>", opts)
|
||||
-- vim.keymap.set("n", "<C-S-d>", ":bprevious<CR>", opts)
|
||||
vim.keymap.set("n", "<leader>x", ":bdelete!<CR>", opts) -- close buffer
|
||||
vim.keymap.set("n", "<leader>b", "<cmd> enew <CR>", opts) -- new buffer
|
||||
|
||||
@@ -80,5 +80,3 @@ vim.keymap.set("v", "p", '"_dP', opts)
|
||||
-- Tabs
|
||||
vim.keymap.set("n", "<leader>tn", ":tabnew<CR>", opts) -- open new tab
|
||||
vim.keymap.set("n", "<leader>tw", ":tabclose<CR>", opts) -- close current tab
|
||||
-- vim.keymap.set("n", "<C-Tab>", ":tabn<CR>", opts) -- go to next tab
|
||||
-- vim.keymap.set("n", "<C-S-Tab>", ":tabp<CR>", opts) -- go to previous tab
|
||||
|
||||
@@ -23,6 +23,7 @@ vim.o.smartindent = true
|
||||
vim.o.hlsearch = true -- enable highlighting of hits with current serch expression
|
||||
vim.o.incsearch = true -- enable incremental search
|
||||
vim.o.ignorecase = true -- search ignore case
|
||||
vim.o.smartcase = true
|
||||
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>") -- clear search highlight on `ESC`
|
||||
|
||||
-- set tab to 4 spaces and convert tabs to spaces
|
||||
@@ -36,6 +37,7 @@ vim.o.scrolloff = 8
|
||||
vim.o.sidescrolloff = 8
|
||||
|
||||
-- view settings
|
||||
vim.g.have_nerd_font = false
|
||||
vim.o.cursorline = true -- highlight current line
|
||||
vim.o.termguicolors = true -- enable true colors (rgb)
|
||||
vim.o.showmode = false -- show current mode (normal, insert, visual)
|
||||
@@ -50,7 +52,7 @@ vim.o.conceallevel = 0
|
||||
vim.o.fillchars = "vert:│,horiz:─"
|
||||
|
||||
-- history settings
|
||||
vim.opt.list = true
|
||||
vim.o.list = true
|
||||
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|
||||
|
||||
-- stuff
|
||||
|
||||
@@ -212,8 +212,8 @@ client.urgent $transp $back_focus $text_focus $transp $transp
|
||||
client.placeholder $transp $back_focus $text_focus $transp $transp
|
||||
|
||||
# transparent windows
|
||||
for_window [app_id="foot"] opacity 0.9
|
||||
for_window [app_id="com.mitchellh.ghostty"] opacity 0.9
|
||||
for_window [class="Alacritty"] opacity 0.9
|
||||
for_window [app_id="foot"] opacity 0.88
|
||||
for_window [app_id="com.mitchellh.ghostty"] opacity 0.88
|
||||
for_window [class="Alacritty"] opacity 0.88
|
||||
for_window [class="SpeedCrunch"] opacity 0.93
|
||||
|
||||
|
||||
Reference in New Issue
Block a user