mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
minor fix
This commit is contained in:
parent
3bfde49348
commit
4062aeab3d
8 changed files with 39 additions and 12 deletions
|
|
@ -103,7 +103,7 @@
|
|||
:init
|
||||
(setq highlight-indent-guides-method 'column)
|
||||
(setq highlight-indent-guides-responsive 'top)
|
||||
(setq highlight-indent-guides-auto-character-face-perc 5))
|
||||
(setq highlight-indent-guides-auto-character-face-perc 1))
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,12 @@
|
|||
"fc" #'js0ny/open-config-directory
|
||||
"fh" #'counsel-recentf))
|
||||
|
||||
;; Replace `cd' with `counsel-cd'
|
||||
(defun cd ()
|
||||
"Change currend default directory"
|
||||
(interactive)
|
||||
(counsel-cd))
|
||||
|
||||
(provide 'init-counsel)
|
||||
|
||||
;;; init-counsel.el ends
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
(use-package company
|
||||
:ensure t
|
||||
:hook (after-init . global-company-mode) ; 在启动后自动启用 global-company-mode
|
||||
:bind (:map company-active-map ; TODO: Seems does not work
|
||||
:bind (:map company-active-map
|
||||
("C-n" . company-select-next)
|
||||
("C-p" . company-select-previous))
|
||||
:custom
|
||||
|
|
|
|||
|
|
@ -7,8 +7,12 @@ case "Linux"
|
|||
fish_config theme choose "Catppuccin Latte"
|
||||
end
|
||||
case "Darwin"
|
||||
set SYSTEM_COLOR_SCHEME defaults read -g AppleInterfaceStyle
|
||||
echo "[TODO] Check if dark mode is enabled in macOS"
|
||||
set SYSTEM_COLOR_SCHEME (defaults read -g AppleInterfaceStyle)
|
||||
if test $SYSTEM_COLOR_SCHEME = "Dark"
|
||||
fish_config theme choose "Catppuccin Mocha"
|
||||
else
|
||||
fish_config theme choose "Catppuccin Latte"
|
||||
end
|
||||
case '*'
|
||||
fish_config theme choose "Catppuccin Mocha"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ return {
|
|||
dependencies = { "L3MON4D3/LuaSnip", "lervag/vimtex" },
|
||||
ft = { "tex", "latex", "markdown", "org" },
|
||||
opts = {},
|
||||
dev = true,
|
||||
dir = "~/Source/Forks/luasnip-latex-snippets.nvim/"
|
||||
-- dev = true,
|
||||
-- dir = "~/Source/Forks/luasnip-latex-snippets.nvim/"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,6 @@ local color = require("color")
|
|||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- TODO: OS light/dark theme detection
|
||||
-- local function detect_theme() end
|
||||
|
||||
-- config.font = 'FiraCode Nerd Font'
|
||||
|
||||
require("tab")(config)
|
||||
require("appearance")(config)
|
||||
require("keymaps")(config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue