diff options
author | gxlin <[email protected]> | 2021-06-23 22:35:32 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-06-24 09:59:52 +0800 |
commit | 2167ca7190d34e0287a44f9b829dbd5cc7a2d35f (patch) | |
tree | 97c4b7224655412eab4bf251b32145e873734305 | |
parent | f456d790b007c3841549ec35a996483135cceec3 (diff) | |
download | dotfiles-2167ca7190d34e0287a44f9b829dbd5cc7a2d35f.tar.gz dotfiles-2167ca7190d34e0287a44f9b829dbd5cc7a2d35f.tar.bz2 dotfiles-2167ca7190d34e0287a44f9b829dbd5cc7a2d35f.zip |
Add git-crypt and some config about maildir
-rw-r--r-- | .emacs.d/init-mu4e.el | bin | 1106 -> 1675 bytes | |||
-rw-r--r-- | .emacs.d/init.el | 2 | ||||
-rw-r--r-- | .git-crypt/.gitattributes | 4 | ||||
-rw-r--r-- | .git-crypt/keys/default/0/66BE707A881973C4CF90E3D406656CCBA14E6240.gpg | bin | 0 -> 304 bytes | |||
-rw-r--r-- | .gitattributes | 2 | ||||
-rw-r--r-- | .offlineimaprc | bin | 0 -> 886 bytes | |||
-rw-r--r-- | .tmux.conf | 4 | ||||
-rw-r--r-- | .vim/init.vim | 5 | ||||
-rw-r--r-- | .vim/plugins/general.plug | 1 | ||||
-rw-r--r-- | .vim/plugins/misc.plug | 5 | ||||
-rw-r--r-- | .zshrc | 1 |
11 files changed, 16 insertions, 8 deletions
diff --git a/.emacs.d/init-mu4e.el b/.emacs.d/init-mu4e.el Binary files differindex bfa2bdc..513a9bf 100644 --- a/.emacs.d/init-mu4e.el +++ b/.emacs.d/init-mu4e.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 927ec8c..d37cb3b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -38,7 +38,7 @@ (require 'init-evil-mode) (require 'init-org-mode) (require 'init-lsp-mode) -(require 'init-mu4e) +(require 'init-mu4e nil 'noerror) ;; ledger-mode (use-package ledger-mode diff --git a/.git-crypt/.gitattributes b/.git-crypt/.gitattributes new file mode 100644 index 0000000..665b10e --- /dev/null +++ b/.git-crypt/.gitattributes @@ -0,0 +1,4 @@ +# Do not edit this file. To specify the files to encrypt, create your own +# .gitattributes file in the directory where your files are. +* !filter !diff +*.gpg binary diff --git a/.git-crypt/keys/default/0/66BE707A881973C4CF90E3D406656CCBA14E6240.gpg b/.git-crypt/keys/default/0/66BE707A881973C4CF90E3D406656CCBA14E6240.gpg Binary files differnew file mode 100644 index 0000000..76353a9 --- /dev/null +++ b/.git-crypt/keys/default/0/66BE707A881973C4CF90E3D406656CCBA14E6240.gpg diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..05c1dcd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +.emacs.d/init-mu4e.el filter=git-crypt diff=git-crypt +.offlineimaprc filter=git-crypt diff=git-crypt diff --git a/.offlineimaprc b/.offlineimaprc Binary files differnew file mode 100644 index 0000000..eaa225a --- /dev/null +++ b/.offlineimaprc @@ -37,6 +37,6 @@ bind J resize-pane -D 5 # copy and paste like vim -# bind -T copy-mode-vi 'v' send -X begin-selection -# bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" + bind -T copy-mode-vi 'v' send -X begin-selection + bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" diff --git a/.vim/init.vim b/.vim/init.vim index 7f2fbdc..275e838 100644 --- a/.vim/init.vim +++ b/.vim/init.vim @@ -48,9 +48,6 @@ if has("gui_running") endif endif -if has("macunix") -endif - " Identation set autoindent @@ -107,7 +104,7 @@ nnoremap <leader>cd :cd %:p:h<CR> :pwd<CR> source ~/.dotfiles/.vim/plugins/init.vim source ~/.dotfiles/.vim/keybindings.vim -silent colorscheme onehalfdark +silent colorscheme onedark highlight Pmenu ctermbg=grey set exrc diff --git a/.vim/plugins/general.plug b/.vim/plugins/general.plug index fd57452..4bbc709 100644 --- a/.vim/plugins/general.plug +++ b/.vim/plugins/general.plug @@ -4,6 +4,7 @@ Plug 'Valloric/YouCompleteMe', { \ 'for': ['python', 'cpp', 'go', 'gdscript'] \ } Plug 'dense-analysis/ale' +Plug 'sheerun/vim-polyglot' let g:ycm_language_server = [] let g:Lf_RootMarkers = [] diff --git a/.vim/plugins/misc.plug b/.vim/plugins/misc.plug index f79b438..34de763 100644 --- a/.vim/plugins/misc.plug +++ b/.vim/plugins/misc.plug @@ -10,4 +10,7 @@ nnoremap <F10> :call asyncrun#quickfix_toggle(6)<cr> Plug 'mhinz/vim-signify' Plug 'tpope/vim-unimpaired' Plug 'godlygeek/tabular' -Plug 'sonph/onehalf', { 'rtp': 'vim' } + +" colorscheme +" Plug 'sonph/onehalf', { 'rtp': 'vim' } +Plug 'joshdick/onedark.vim' @@ -5,6 +5,7 @@ bindkey -e EDITOR=vim export LANG=en_US.UTF-8 +export GPG_KEY=$(tty) # Edit command line autoload -U edit-command-line |