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