Snippet für python und binding für neotree.

This commit is contained in:
madmaurice 2017-05-25 03:45:30 +02:00
parent 5fad0abd17
commit 0c741c3f4a
2 changed files with 9 additions and 2 deletions

View file

@ -35,7 +35,7 @@
'(menu-bar-mode nil)
'(package-selected-packages
(quote
(swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil)))
(shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil)))
'(scroll-bar-mode nil)
'(shell-pop-shell-type
(quote
@ -164,7 +164,8 @@
(evil-define-key 'normal neotree-mode-map (kbd "c") 'neotree-rename-node)
(evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
(evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter)
(evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide))
(evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide)
(evil-define-key 'normal neotree-mode-map (kbd "DEL") 'neotree-select-up-node))
;; Cursor centered

View file

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: ifmain
# key: ifmain
# --
if __name__ == "__main__":
$0