chore: minor updates
This commit is contained in:
parent
59aee37330
commit
431ccf6a2c
4 changed files with 47 additions and 48 deletions
|
@ -36,7 +36,6 @@ map Q gq
|
|||
set ideamarks
|
||||
set ideajoin
|
||||
set ideastatusicon=gray
|
||||
set clipboard+=unnamed
|
||||
|
||||
""" Mappings -----------------------------------------------------------------
|
||||
" IDEA binds
|
||||
|
@ -64,6 +63,8 @@ sethandler <C-R> n:ide
|
|||
|
||||
map <A-<> <Action>(PreviousTab)
|
||||
map <A->> <Action>(NextTab)
|
||||
map <A-c> <Action>(NewScratchFile)
|
||||
map <A-x> <Action>(CloseContent)
|
||||
|
||||
" Zen mode
|
||||
map <leader>zz <Action>(ToggleZenMode)
|
||||
|
@ -72,7 +73,6 @@ map <leader>zz <Action>(ToggleZenMode)
|
|||
map <leader>ff <Action>(GotoFile)
|
||||
map <leader>fg <Action>(FindInPath)
|
||||
map <leader>fl <Action>(RecentLocations)
|
||||
map <leader>fs <Action>(NewScratchFile)
|
||||
|
||||
map [d <Action>(GotoPreviousError)
|
||||
map ]d <Action>(GotoNextError)
|
||||
|
|
|
@ -16,15 +16,15 @@ telescope.setup({
|
|||
})
|
||||
|
||||
|
||||
local easypick = require("easypick")
|
||||
local present, easypick = pcall(require, "easypick")
|
||||
if not present then return end
|
||||
|
||||
easypick.setup({
|
||||
pickers = {
|
||||
{
|
||||
name = "chezmoi",
|
||||
command = [[chezmoi managed -ifiles -pabsolute -xencrypted]],
|
||||
previewer = easypick.previewers.default()
|
||||
},
|
||||
}
|
||||
pickers = { {
|
||||
name = "chezmoi",
|
||||
command = [[chezmoi managed -ifiles -pabsolute -xencrypted]],
|
||||
previewer = easypick.previewers.default()
|
||||
} }
|
||||
})
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
-- vim:foldmethod=marker
|
||||
local wezterm = require("wezterm")
|
||||
local fonts = require("fonts")
|
||||
local theme = require("theme")
|
||||
|
@ -7,40 +6,40 @@ require("bar")
|
|||
local font = fonts.get_font("berkeley")
|
||||
|
||||
return {
|
||||
-- keys
|
||||
disable_default_key_bindings = true,
|
||||
leader = { key = "s", mods = "CTRL", timeout_milliseconds = 5000 },
|
||||
keys = require("shortcuts"),
|
||||
-- font
|
||||
font = font.font,
|
||||
font_size = font.size,
|
||||
-- window
|
||||
window_decorations = "RESIZE",
|
||||
window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
inactive_pane_hsb = {
|
||||
saturation = 1.0,
|
||||
brightness = 0.6,
|
||||
},
|
||||
-- theme
|
||||
color_schemes = theme.get_custom_colorschemes(),
|
||||
color_scheme = theme.scheme_for_appearance(wezterm.gui.get_appearance(), {
|
||||
dark = "OLEDppuccin",
|
||||
light = "Catppuccin Latte",
|
||||
}),
|
||||
-- tab bar
|
||||
hide_tab_bar_if_only_one_tab = false,
|
||||
tab_bar_at_bottom = true,
|
||||
tab_max_width = 32,
|
||||
use_fancy_tab_bar = false,
|
||||
-- etc.
|
||||
adjust_window_size_when_changing_font_size = false,
|
||||
audible_bell = "Disabled",
|
||||
clean_exit_codes = { 130 },
|
||||
default_cursor_style = "BlinkingBar",
|
||||
enable_scroll_bar = false,
|
||||
-- keys
|
||||
disable_default_key_bindings = true,
|
||||
leader = { key = "s", mods = "CTRL", timeout_milliseconds = 5000 },
|
||||
keys = require("shortcuts"),
|
||||
-- font
|
||||
font = font.font,
|
||||
font_size = font.size,
|
||||
-- window
|
||||
window_decorations = "RESIZE",
|
||||
window_padding = {
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
bottom = 0,
|
||||
},
|
||||
inactive_pane_hsb = {
|
||||
saturation = 1.0,
|
||||
brightness = 0.6,
|
||||
},
|
||||
-- theme
|
||||
color_schemes = theme.get_custom_colorschemes(),
|
||||
color_scheme = theme.scheme_for_appearance(wezterm.gui.get_appearance(), {
|
||||
dark = "OLEDppuccin",
|
||||
light = "Catppuccin Latte",
|
||||
}),
|
||||
-- tab bar
|
||||
hide_tab_bar_if_only_one_tab = false,
|
||||
tab_bar_at_bottom = true,
|
||||
tab_max_width = 32,
|
||||
use_fancy_tab_bar = false,
|
||||
-- etc.
|
||||
adjust_window_size_when_changing_font_size = false,
|
||||
audible_bell = "Disabled",
|
||||
clean_exit_codes = { 130 },
|
||||
default_cursor_style = "BlinkingBar",
|
||||
enable_scroll_bar = false,
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# vim:filetype=sshconfig
|
||||
# vim:ft=sshconfig
|
||||
|
||||
Host *
|
||||
ControlMaster auto
|
||||
|
|
Loading…
Reference in a new issue