From 4839cc172a353af2cd852c148d2ecb99bb1859c4 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 6 May 2020 17:01:14 -0500 Subject: [PATCH] update --- dot_config/nvim/init.vim | 3 +++ dot_config/waybar/config | 10 ++++++++++ dot_zshrc | 3 +++ 3 files changed, 16 insertions(+) create mode 100644 dot_config/waybar/config diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim index c3c0592..13ee650 100644 --- a/dot_config/nvim/init.vim +++ b/dot_config/nvim/init.vim @@ -14,6 +14,7 @@ Plug 'majutsushi/tagbar' Plug 'preservim/nerdtree' Plug 'jiangmiao/auto-pairs' Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } +Plug 'GutenYe/json5.vim' Plug 'autozimu/LanguageClient-neovim', { \ 'branch': 'next', @@ -34,6 +35,8 @@ set splitright set number set cursorline set hidden +set modeline +set modelines=5 syntax on filetype on diff --git a/dot_config/waybar/config b/dot_config/waybar/config new file mode 100644 index 0000000..15785ab --- /dev/null +++ b/dot_config/waybar/config @@ -0,0 +1,10 @@ +// https://github.com/Alexays/Waybar/wiki/Configuration + +{ + "layer": "top", + "position": "bottom", + "modules-left": ["sway/workspaces", "sway/mode"] +} + +// vim: set ft=json5 tabstop=4 : + diff --git a/dot_zshrc b/dot_zshrc index e1689d8..bfe3577 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -24,3 +24,6 @@ test -r /home/michael/.opam/opam-init/init.zsh && . /home/michael/.opam/opam-ini alias rm="garbage put" alias cm="chezmoi" alias jrnl=" jrnl" + +ced() { chezmoi edit $1 && chezmoi apply } +cpush() { chezmoi git add . -- -A && chezmoi git commit -- -m "update" && chezmoi git push }