From e0c610849b00dbd098913ebc082a1142c19647b7 Mon Sep 17 00:00:00 2001 From: gxlin Date: Fri, 29 Jan 2021 10:44:57 +0800 Subject: modify some config --- .emacs.d/init.el | 5 ++++- .gitconfig | 2 ++ .vimrc | 5 +++++ .zshrc | 3 --- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e19b102..a2ec6cf 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -20,10 +20,13 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages (quote (evil)))) + '(package-selected-packages '(evil))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) + +;; Org Mode +(add-hook 'org-mode-hook (lambda () (setq truncate-lines nil))) diff --git a/.gitconfig b/.gitconfig index 5a8b7f9..f0ce216 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,3 +1,5 @@ [user] email = iigxlin@gmail.com name = gxlin +[http] + proxy = http://127.0.0.1:7890 diff --git a/.vimrc b/.vimrc index 8ef4f27..46dfd0f 100644 --- a/.vimrc +++ b/.vimrc @@ -8,6 +8,7 @@ set encoding=utf-8 set t_Co=256 set showcmd set autoread +set mouse=a filetype indent on set hidden @@ -95,6 +96,8 @@ Plug 'dense-analysis/ale' Plug 'mhinz/vim-signify' Plug 'tpope/vim-unimpaired' Plug 'godlygeek/tabular' +Plug 'ledger/vim-ledger', {'for': 'ledger'} +Plug 'puremourning/vimspector' call plug#end() " Plugin config @@ -177,3 +180,5 @@ hi! SpellBad gui=undercurl guisp=red hi! SpellCap gui=undercurl guisp=blue hi! SpellRare gui=undercurl guisp=magenta +" Vimspector +let g:vimspector_enable_mappings = 'HUMAN' diff --git a/.zshrc b/.zshrc index 0d63a88..3bd3897 100644 --- a/.zshrc +++ b/.zshrc @@ -10,8 +10,6 @@ HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history -# file -[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh # proxy @@ -65,4 +63,3 @@ if ! zplug check --verbose; then fi fi zplug load - -- cgit v1.2.3