From d5fd6d3567dfd948d714ae1a717680021d9137c5 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Tue, 28 Dec 2021 18:38:57 -0800 Subject: [PATCH 1/3] Vim Plug, not vundle --- minimal.vimrc.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minimal.vimrc.vim b/minimal.vimrc.vim index 992a8c6..da13dec 100644 --- a/minimal.vimrc.vim +++ b/minimal.vimrc.vim @@ -2,7 +2,7 @@ " Vim customization and package management " -" This uses Vundle for package management, so Vundle is installed on the first +" This uses Vim Plug for package management, so Vim Plug is installed on the first " run. " " Run the following to install plugins: @@ -46,13 +46,13 @@ " }}} -" Vundle setup - Preamble {{{ +" Vim Plug setup - Preamble {{{ call plug#begin() " }}} -" Vundle setup - Packages {{{ +" Vim Plug setup - Packages {{{ Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'tpope/vim-fugitive' @@ -79,7 +79,7 @@ " }}} -" Vundle - Closing {{{ +" Vim Plug - Closing {{{ call plug#end() From c14d5d171076166d1ff967e3b6131141da4f2617 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Wed, 3 Aug 2022 10:39:55 -0700 Subject: [PATCH 2/3] Added wezterm.lua for Mac --- wezterm.lua.mac | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 wezterm.lua.mac diff --git a/wezterm.lua.mac b/wezterm.lua.mac new file mode 100644 index 0000000..b723c51 --- /dev/null +++ b/wezterm.lua.mac @@ -0,0 +1,32 @@ +local wezterm = require 'wezterm'; + +return { + -- On MacOS, wezTerm hangs when reloading config + automatically_reload_config = false, + + -- MacBook Pro setting with proper DPI + font = wezterm.font("Iosevka Term"), + font_size = 18, + font_antialias = "Subpixel", + dpi = 144.0, + + -- Don't want tabbar by default + hide_tab_bar_if_only_one_tab = true, + + -- Color scheme and cursor + colors = { + cursor_bg = "red", + cursor_fg = "black", + cursor_border = "grey", + compose_curspr = "orange", + + -- Color scheme + -- Molokini (https://github.com/asolkar/vim-color-molokini/blob/master/colors/molokini.vim) + -- Order: black, red, green, yellow, blue, magenta, cyan, white + ansi = { "#000000", "#F92672", "#A6E22E", "#FFDF5F", + "#66D9EF", "#7070F0", "#A1FFA4", "#ffffff" }, + + bright = { "#808080", "#f51d5a", "#9EC400", "#E7C547", + "#7AA6DA", "#B77EE0", "#54AE96", "#ffffff" }, + } +} From 1a9a8f748f5fc5fa9dd8135fc3e9d67892ada1e4 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Sun, 25 Sep 2022 09:49:52 -0700 Subject: [PATCH 3/3] Fullscreen handling on MacOS --- wezterm.lua.mac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wezterm.lua.mac b/wezterm.lua.mac index b723c51..4b1cb14 100644 --- a/wezterm.lua.mac +++ b/wezterm.lua.mac @@ -13,6 +13,14 @@ return { -- Don't want tabbar by default hide_tab_bar_if_only_one_tab = true, + -- Native fullscreen behavior on MacOS + native_macos_fullscreen_mode = true, + + -- Keyboard bindings + keys = { + { key = 'f', mods = 'CMD|CTRL', action = wezterm.action.ToggleFullScreen, }, + }, + -- Color scheme and cursor colors = { cursor_bg = "red",