aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-06-06 11:17:29 +0800
committergxlin <[email protected]>2021-06-06 11:17:29 +0800
commitbd7d13c48383551cb4b81f9a62e3f38431b168c2 (patch)
tree2f1a5e4654b054dfc0a83453b9ad5e2197388348
parent33696132a4deecf6c717238db805b80e8bda540a (diff)
downloaddotfiles-bd7d13c48383551cb4b81f9a62e3f38431b168c2.tar.gz
dotfiles-bd7d13c48383551cb4b81f9a62e3f38431b168c2.tar.bz2
dotfiles-bd7d13c48383551cb4b81f9a62e3f38431b168c2.zip
Update
-rw-r--r--.emacs.d/init.el4
-rw-r--r--.emacs.d/modes/init-org-mode.el4
-rw-r--r--.vim/plugins/youcompleteme.vim2
-rw-r--r--kitty.conf8
4 files changed, 15 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 8ed2a78..1d345b6 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -86,7 +86,9 @@
("\\.md\\'" . markdown-mode)
("\\.markdown\\'" . markdown-mode))
:init
- (setq markdown-command "multimarkdown"))
+ (setq markdown-command "multimarkdown")
+ (evil-define-key 'normal markdown-mode-map
+ (kbd "<RET>") 'markdown-follow-link-at-point))
(use-package exec-path-from-shell
:if (memq window-system '(mac ns))
diff --git a/.emacs.d/modes/init-org-mode.el b/.emacs.d/modes/init-org-mode.el
index f402902..31cf3e2 100644
--- a/.emacs.d/modes/init-org-mode.el
+++ b/.emacs.d/modes/init-org-mode.el
@@ -26,7 +26,9 @@
(kbd "<leader>c") 'org-capture)
(evil-define-key 'normal org-mode-map
(kbd "TAB") 'org-cycle
- (kbd "RET") 'org-open-at-point)
+ (kbd "RET") 'org-open-at-point
+ (kbd "<leader>os") 'org-schedule
+ (kbd "<leader>od") 'org-deadline)
;; todo
(setq org-todo-keywords
diff --git a/.vim/plugins/youcompleteme.vim b/.vim/plugins/youcompleteme.vim
index e289214..050969d 100644
--- a/.vim/plugins/youcompleteme.vim
+++ b/.vim/plugins/youcompleteme.vim
@@ -11,7 +11,7 @@ let g:ycm_complete_in_strings = 1
let g:ycm_filetype_whilelist = {
\ "c": 1, "cpp": 1, "sh": 1, "zsh": 1,
- \ "python": 1,
+ \ "python": 1, "go": 1,
\ }
let g:ycm_filetype_blacklist = {
\ 'ledger': 1
diff --git a/kitty.conf b/kitty.conf
index 04ab5ee..9ab5197 100644
--- a/kitty.conf
+++ b/kitty.conf
@@ -4,5 +4,13 @@
font_size 15
font_family Monaco
+# Window layout
+remember_window_size no
+initial_window_width 800
+initial_window_height 500
+
+# Color scheme
+background_opacity 0.8
+
# macOS
macos_quit_when_last_window_closed yes