This commit is contained in:
Mahesh Asolkar 2022-11-06 18:12:41 -08:00
commit a530048c76
2 changed files with 44 additions and 4 deletions

View File

@ -2,7 +2,7 @@
" Vim customization and package management " 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.
" "
" Run the following to install plugins: " Run the following to install plugins:
@ -46,13 +46,13 @@
" }}} " }}}
" Vundle setup - Preamble {{{ " Vim Plug setup - Preamble {{{
call plug#begin() call plug#begin()
" }}} " }}}
" Vundle setup - Packages {{{ " Vim Plug setup - Packages {{{
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
@ -80,7 +80,7 @@
" }}} " }}}
" Vundle - Closing {{{ " Vim Plug - Closing {{{
call plug#end() call plug#end()

40
wezterm.lua.mac Normal file
View File

@ -0,0 +1,40 @@
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,
-- 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",
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" },
}
}