config lazydocker for mac

oh look my first is_darwin check
master
Jordan Orelli 6 months ago
parent eeebba1ce3
commit 5742905cee

@ -98,10 +98,15 @@ files: cargo-config.toml > .cargo/config.toml
when: host.has('htop')
files: .config/htop/htoprc
[home lazydocker]
when: host.has('lazydocker')
[home lazydocker-linux]
when: host.is_linux and host.has('lazydocker')
files: .config/lazydocker/config.yml
[home lazydocker-mac]
when: host.is_darwin and host.has('lazydocker')
files:
.config/lazydocker/config.yml > Library/Application Support/jesseduffield/lazydocker/config.yml
[home screenrc]
when: host.has('screen')
files: .screenrc

@ -2216,6 +2216,7 @@ macos_traditional_fullscreen yes
# map kitty_mod+f1 show_kitty_doc overview
#: Toggle fullscreen
map cmd+enter toggle_fullscreen
# map kitty_mod+f11 toggle_fullscreen
# map ctrl+cmd+f toggle_fullscreen

@ -37,6 +37,13 @@ class Host:
"""
return platform.system() == 'Windows'
@cached_property
def is_darwin(self):
"""
true if we're on MacOS
"""
return platform.system() == 'Darwin'
@cached_property
def is_admin(self):
"""

@ -10,9 +10,6 @@ if has('nvim') && has('win32')
endif
call plug#begin()
" if !has('nvim')
" Plug 'dense-analysis/ale' " asynchronous linting engine
" endif
Plug 'tpope/vim-fugitive' " integration with the git cli
Plug 'tpope/vim-surround' " edits surrounding quotes and parens and the like
Plug 'tpope/vim-rails' " rails project management stuff

Loading…
Cancel
Save