Update bindings and commands

This commit is contained in:
Henrik Lissner 2016-03-06 23:03:28 -05:00
parent 59eebb95c9
commit d2a1cc3633
2 changed files with 11 additions and 15 deletions

View file

@ -131,6 +131,7 @@
:nv "qq" 'evil-save-and-quit :nv "qq" 'evil-save-and-quit
:nv "QQ" 'narf/kill-all-buffers-do-not-remember :nv "QQ" 'narf/kill-all-buffers-do-not-remember
;; Quick access to my dotfiles and emacs.d
:nv "E" 'narf/helm-find-in-emacsd :nv "E" 'narf/helm-find-in-emacsd
:nv "\\" 'narf/helm-find-in-dotfiles :nv "\\" 'narf/helm-find-in-dotfiles
@ -138,9 +139,6 @@
(:prefix "t" (:prefix "t"
:n "." 'narf/tmux-cd-to-here :n "." 'narf/tmux-cd-to-here
:n "/" 'narf/tmux-cd-to-project :n "/" 'narf/tmux-cd-to-project
:n "s" 'narf/tmux-split-window
:n "v" 'narf/tmux-vsplit-window
:n "c" 'narf/tmux-new-window
:v "r" 'narf:tmux) :v "r" 'narf:tmux)
;; Open with O/S ;; Open with O/S
@ -165,6 +163,7 @@
)) ))
(:localleader (:localleader
:n "\\" 'narf/neotree
:n "k" 'narf/helm-descbinds-localleader :n "k" 'narf/helm-descbinds-localleader
:n "b" 'narf:build :n "b" 'narf:build
:n "R" 'narf:repl :n "R" 'narf:repl
@ -172,10 +171,7 @@
:v "r" 'narf:eval-region :v "r" 'narf:eval-region
(:prefix "r" (:prefix "r"
:n "e" 'emr-show-refactor-menu :n "e" 'emr-show-refactor-menu
:n "r" 'narf:eval-buffer) :n "r" 'narf:eval-buffer))
;; :n "t" unit tests prefix
)
:nv "K" 'smart-up :nv "K" 'smart-up

View file

@ -26,11 +26,10 @@
(exmap "re[gex]" 'narf:regex) ; open re-builder (exmap "re[gex]" 'narf:regex) ; open re-builder
(exmap "repl" 'narf:repl) ; invoke or send to repl (exmap "repl" 'narf:repl) ; invoke or send to repl
(exmap "t[mux]" 'narf:tmux) ; send to tmux (exmap "t[mux]" 'narf:tmux) ; send to tmux
(exmap "t[mux]w" 'narf/tmux-new-window) ; open new window in tmux
(exmap "tcd" 'narf:tmux-cd) ; cd to default-directory in tmux (exmap "tcd" 'narf:tmux-cd) ; cd to default-directory in tmux
(exmap "x" 'narf:send-to-scratch-or-org) (exmap "x" 'narf:send-to-scratch-or-org)
;; GIT ;; GIT
(exmap "br[owse]" 'narf:git-remote-browse) ; show file in github/gitlab (exmap "gbr[owse]" 'narf:git-remote-browse) ; show file in github/gitlab
;; Dealing with buffers ;; Dealing with buffers
(exmap "k[ill]" 'narf/kill-real-buffer) ; Kill current buffer (exmap "k[ill]" 'narf/kill-real-buffer) ; Kill current buffer
@ -74,6 +73,7 @@
;; Org-mode ;; Org-mode
(exmap "att[ach]" 'narf:org-attach) (exmap "att[ach]" 'narf:org-attach)
(exmap "link" 'narf:org-link)
;; Plugins ;; Plugins
(after! flycheck (after! flycheck