Skip to content

Commit

Permalink
Replace Alacritty, Kitty, and WezTerm with Neovide
Browse files Browse the repository at this point in the history
  • Loading branch information
tssm committed Aug 12, 2023
1 parent 27bac80 commit 049acd2
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 102 deletions.
30 changes: 0 additions & 30 deletions alacritty.yml

This file was deleted.

42 changes: 0 additions & 42 deletions kitty/kitty.conf

This file was deleted.

1 change: 0 additions & 1 deletion kitty/macos-launch-services-cmdline

This file was deleted.

2 changes: 0 additions & 2 deletions nixpkgs/overlays/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ in
packages.myVimPackages = {
start = [
# General
(plug "f-person" "auto-dark-mode.nvim" [ ])
(plug "moll" "vim-bbye" [ ])
(plug "norcalli" "nvim-colorizer.lua" [ ])
(plug "Olical" "conjure" [ ])
(plug "mfussenegger" "nvim-dap" [ ])
(plug "whiteinge" "diffconflicts" [ ])
(plug "lifecrisis" "vim-difforig" [ ./difforig-mapcheck.patch ])
(plug "stonelasley" "flare.nvim" [ ])
(plug "ibhagwan" "fzf-lua" [
./fzf-lua-do-not-open-qf-list.patch
./fzf-lua-help-in-current-window.patch
Expand Down
6 changes: 0 additions & 6 deletions nvim/plugin/miscellaneous.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
(set g.templates_global_name_prefix :template.)
(set g.templates_no_builtin_templates true))

; Auto-dark-mode

(let [auto-dark-mode (require :auto-dark-mode)]
(auto-dark-mode.setup)
(auto-dark-mode.init))

; Autopairs

(let [{: setup} (require :nvim-autopairs)] (setup))
Expand Down
20 changes: 20 additions & 0 deletions nvim/plugin/neovide.fnl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
(let [g vim.g]
(when g.neovide
(vim.cmd.cd :$HOME)
(set g.neovide_fullscreen true)
(let
[scale-by
(fn [delta] (set g.neovide_scale_factor (* g.neovide_scale_factor delta)))
set-map (fn [mode lhs rhs] (vim.keymap.set mode lhs rhs))]
(set-map :c :<d-v> "<c-r>+")
(set-map :i :<d-v> "<esc>p")

(set-map :n :<d--> (fn [] (scale-by (/ 1 1.25))))
(set-map :n :<d-0> (fn [] (set g.neovide_scale_factor 1.0)))
(set-map :n :<d-=> (fn [] (scale-by 1.25)))

(set-map :n :<d-n> ":! /Applications/neovide.app/Contents/MacOS/neovide<cr>")

(set-map :n :<d-s> "<cmd>silent wall<cr>")
(set-map :n :<d-t> "<cmd>tabnew<cr>")
(set-map :n :<d-w> "<cmd>tabclose<cr>"))))
1 change: 1 addition & 0 deletions nvim/plugin/ui.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
(set opt.fillchars {:fold " "})
(set opt.guicursor
"n-v:block,i-c-ci-ve:ver35,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon600-Cursor")
(set opt.guifont "JetBrains Mono NL")
(set opt.list true)
(set opt.listchars {:extends :… :precedes :… :tab " "})
(set opt.showcmdloc :statusline)
Expand Down
21 changes: 0 additions & 21 deletions wezterm/wezterm.lua

This file was deleted.

0 comments on commit 049acd2

Please sign in to comment.