dotfiles

feels like ${HOME}
Log | Files | Refs | README

commit 5362e9807d404ddbf98269c93f332a11871431a8
parent ed193cdf02a6378f1eb15ec99093de06e6134382
Author: Yohanes Bandung Bondowoso <hi@ybbond.dev>
Date:   Thu, 13 Aug 2020 01:03:09 +0700

backup nvim, kitty, zsh, and sublime settings

Diffstat:
M.config/kitty/kitty.conf | 8++++----
M.config/nvim/coc-settings.json | 4++++
M.config/nvim/init.vim | 17+++++++++--------
M.zshrc | 9+++------
MLibrary/Application Support/Sublime Text/Packages/User/Preferences.sublime-settings | 3++-

5 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf
@@ -11,10 +11,10 @@ bold_font        IBM Plex Mono Bold
 italic_font      IBM Plex Mono Light Italic
 bold_italic_font IBM Plex Mono Bold Italic
 
-# font_family      Roboto Mono Light for Powerline Light
-# bold_font        Roboto Mono Medium for Powerline Medium
-# italic_font      Roboto Mono Light for Powerline Light Italic
-# bold_italic_font Roboto Mono Medium for Powerline Medium Italic
+# font_family      iA Writer Mono S Regular
+# bold_font        iA Writer Mono S Bold
+# italic_font      iA Writer Mono S Italic
+# bold_italic_font iA Writer Mono S Bold Italic
 
 # font_family      Hermit Light
 # bold_font        Hermit Bold
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
@@ -16,6 +16,10 @@
   "tsserver.npm": "/usr/local/bin/npm",
   "tsserver.locale": "/usr/local/bin/tsserver",
   "languageserver": {
+    "reason": {
+      "command": "~/bin/reason-language-server",
+      "filetypes": ["reason", "ocaml"]
+    },
     "ccls": {
       "command": "ccls",
       "filetypes": ["c", "cpp", "objc", "objcpp"],
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -16,6 +16,10 @@ call plug#begin(s:plugin_location)
   Plug '/usr/local/opt/fzf'
   Plug 'ybbond/fzf.vim'
 
+  " *wiki*
+  Plug 'vimwiki/vimwiki'
+  Plug 'michal-h21/vim-zettel'
+
   " *bufkill*
   Plug 'qpkorr/vim-bufkill'
 
@@ -58,7 +62,6 @@ call plug#begin(s:plugin_location)
     " use error & warning count of diagnostics form coc.nvim
     let g:airline_section_error = '%{airline#util#wrap(airline#extensions#coc#get_error(),0)}'
     let g:airline_section_warning = '%{airline#util#wrap(airline#extensions#coc#get_warning(),0)}'
-    let g:airline#extensions#vimtex#enabled = 0
     let g:airline_theme = 'gruvbox'
 
   " *tmux*
@@ -118,7 +121,6 @@ call plug#begin(s:plugin_location)
     let g:vim_markdown_folding_disabled = 1
     let g:vim_markdown_conceal = 0
     let g:vim_markdown_strikethrough = 1
-    let g:tex_conceal = ""
     let g:vim_markdown_math = 1
     let g:vim_markdown_frontmatter = 1  " for YAML format
     let g:vim_markdown_toml_frontmatter = 1  " for TOML format
@@ -150,12 +152,6 @@ call plug#begin(s:plugin_location)
     au BufNewFile,BufRead *.(v|py) setlocal shiftwidth=4
     au BufNewFile,BufRead *.(v|py) setlocal set noexpandtab
 
-  " LaTex
-  Plug 'lervag/vimtex'
-    let g:vimtex_compiler_progname = 'nvr'
-    let g:vimtex_view_method = 'skim'
-    let g:vimtex_texcount_custom_arg = 'macro \cmt [state1]'
-
 call plug#end()
 
 colorscheme gruvbox
@@ -199,6 +195,11 @@ if has('nvim')
   set inccommand=split
 endif
 
+let g:nv_search_paths = ['~/notes']
+let g:vimwiki_list = [{'path': '~/notes/',
+                      \ 'syntax': 'markdown', 'ext': '.md'}]
+let g:zettel_fzf_command = "rg --column --line-number --ignore-case --no-heading --color=always "
+
 " Let's save undo info!
 if has('nvim')
   if has('persistent_undo')
diff --git a/.zshrc b/.zshrc
@@ -9,6 +9,7 @@ export TERM=xterm-256color
 
 export PATH=$HOME/bin:/usr/local/bin:$PATH
 export PATH="/usr/local/sbin:$PATH"
+# export PATH=$HOME/.local/bin:$PATH
 
 export PATH=$PATH:$HOME/go/bin
 export PATH=$PATH:$HOME/.cargo/bin
@@ -34,9 +35,6 @@ export PATH="${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools"
 
 export SCRIPT=~/Library/Mobile\ Documents/com\~apple\~ScriptEditor2/Documents
 
-export PYENV_ROOT="$HOME/.pyenv"
-export PATH="$PYENV_ROOT/bin:$PATH"
-
 ########################################################################
 #                     FUNCTIONS
 ########################################################################
@@ -129,6 +127,8 @@ alias ybbold="cd ${YBPATH}/old-ybbond"
 alias ybreason="cd ${YBPATH}/ybbond-reason"
 alias ftex="cd ${YBPATH}/latex"
 alias todo="nvim ~/todo.md"
+alias tempbin="nvim ~/tempbin.md"
+alias personal="nvim ~/personal.md"
 alias mine="nvim ~/Library/Mobile\ Documents/27N4MQEA55~pro~writer/Documents"
 alias fetchwm="WEBMENTIONS_TOKEN=${WMTOKEN} node ${YBPATH}/ybbond/webmentions.js"
 
@@ -293,6 +293,3 @@ zle -N zle-keymap-select
 # }
 # precmd_functions+=(_fix_cursor)
 alias config=$CONFTREE
-if command -v pyenv 1>/dev/null 2>&1; then
-  eval "$(pyenv init -)"
-fi
diff --git a/Library/Application Support/Sublime Text/Packages/User/Preferences.sublime-settings b/Library/Application Support/Sublime Text/Packages/User/Preferences.sublime-settings
@@ -10,11 +10,12 @@
   ],
   "bold_folder_labels": true,
   "create_window_at_startup": false,
+  "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
   "default_line_ending": "unix",
   "drag_text": false,
   "draw_white_space": "all",
   "font_face": "IBM Plex Mono",
-  "font_size": 14,
+  "font_size": 13,
   "highlight_line": true,
   "highlight_modified_tabs": true,
   "hot_exit": "disabled",