diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2023-03-03 17:05:58 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2023-12-12 23:30:27 +0100 |
| commit | 8620835e4e4eca397a9ec02d6c6bf8a7f1c95235 (patch) | |
| tree | 49bc63475132b46c749c8062e683944db0dad718 | |
| parent | 9e1eb31b4f2dfbfb8ac0e0351cc23bd2964bbb1a (diff) | |
Giving Kanagawa theme a spin, some minor Emacs tweaks
| -rw-r--r-- | config/emacs/init.el | 6 | ||||
| -rw-r--r-- | config/emacs/sanemacs.el | 2 | ||||
| -rw-r--r-- | config/nvim/init.lua | 17 |
3 files changed, 18 insertions, 7 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el index 0532f21..67bf3a6 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -6,3 +6,9 @@ ;;; 2. Move `eln-cache`, this requires `startup-redirect-eln-cache` which will ;;; only become available in Emacs v29+ ;;; 3. Try out `meow` modal editing mode +;;; 4. Move bookmarks to `~/.cache` +;;; 5. Use built-in tree-sitter support (requires Emacs v29+) + +;;; Enable ligatures on macOS +(if (fboundp 'mac-auto-operator-composition-mode) + (mac-auto-operator-composition-mode)) diff --git a/config/emacs/sanemacs.el b/config/emacs/sanemacs.el index ab89bc9..afbac50 100644 --- a/config/emacs/sanemacs.el +++ b/config/emacs/sanemacs.el @@ -43,7 +43,7 @@ (setq use-package-always-ensure t) ;;; Setup Modus theme -(load-theme 'modus-operandi) +(load-theme 'modus-vivendi) ;;; Use separate file for custom variables (setq custom-file "~/.cache/emacs/custom.el") diff --git a/config/nvim/init.lua b/config/nvim/init.lua index ec96d71..b22fa48 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -26,7 +26,7 @@ packer.startup(function (use) "ggandor/lightspeed.nvim", requires = "tpope/vim-repeat", } - ]=]-- + --]=] use { "neovim/nvim-lspconfig", config = function () @@ -65,6 +65,7 @@ packer.startup(function (use) } end, } + use "rebelot/kanagawa.nvim" use "tpope/vim-commentary" use { "tpope/vim-surround", @@ -83,10 +84,9 @@ packer.startup(function (use) use "onsails/lspkind-nvim" use "phaazon/hop.nvim" use "rebelot/kanagawa.nvim" - ]=]-- + --]=] end) --- customization set.vars { mapleader = ",", maplocalleader = ",", @@ -95,13 +95,18 @@ set.vars { set.opts { number = true, relativenumber = true, + cursorline = true, + cursorlineopt = "both", list = true, listchars = {tab = "» ", nbsp = "␣", trail = "·"}, expandtab = false, tabstop = 8, shiftwidth = 8, - background = "light", } --- TODO: make this prettier. -vim.cmd [[call matchadd('ColorColumn', '\%81v.')]] +vim.cmd [[ + colorscheme kanagawa + + " TODO: make this prettier. + call matchadd('ColorColumn', '\%81v.') +]] |
