aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-01-29 10:44:57 +0800
committergxlin <[email protected]>2021-01-29 10:44:57 +0800
commite0c610849b00dbd098913ebc082a1142c19647b7 (patch)
treea49ce5a7f8620cbfd34b2ab7984e4425048c5c90
parent320b189f7c33655bab70ed631c4085603ec76a33 (diff)
downloaddotfiles-e0c610849b00dbd098913ebc082a1142c19647b7.tar.gz
dotfiles-e0c610849b00dbd098913ebc082a1142c19647b7.tar.bz2
dotfiles-e0c610849b00dbd098913ebc082a1142c19647b7.zip
modify some config
-rw-r--r--.emacs.d/init.el5
-rw-r--r--.gitconfig2
-rw-r--r--.vimrc5
-rw-r--r--.zshrc3
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]
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
-