add csv mode and shrtcut for dired magit

This commit is contained in:
petrucci4prez 2018-08-06 12:27:26 -04:00
parent fd2882d6d9
commit deb44875ca
2 changed files with 13 additions and 2 deletions

View File

@ -197,6 +197,13 @@ No need for startup screen, tool/menu/scrollbars, or backups
:init
(dired-async-mode 1))
#+END_SRC
** csv-mode
#+BEGIN_SRC emacs-lisp
(use-package csv-mode
:ensure t)
;; :hook
;; (csv-mode . (lambda () (csv-align-fields nil (point-min) (point-max)))))
#+END_SRC
* library
A place for duct tape code that I developed (or lovingly stole from others)
** macros
@ -1754,6 +1761,10 @@ These are for mode-specific bindings that can/should be outside of the evil maps
(lambda ()
(local-set-key (kbd "C-c C-c") 'org-agenda-set-tags)))
#+END_SRC
*** dired
#+BEGIN_SRC emacs-lisp
(define-key dired-mode-map (kbd "C-x g") 'magit)
#+END_SRC
** global
#+BEGIN_SRC emacs-lisp
(global-set-key (kbd "<f1>") 'org-agenda)

View File

@ -21,10 +21,10 @@
;; If there is more than one, they won't work right.
'(package-selected-packages
(quote
(company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
(csv-mode company-ghc calf-org evil-magit magit yasnippet-snippets flycheck rainbow-delimiters-mode helm evil-collection haskell-mode fill-column-indicator gtklp delight browse-kill-ring evil-org-agenda evil-org evil calfw calfw-org yaml-mode which-key use-package systemd sudo-edit spaceline rainbow-mode rainbow-delimiters pkgbuild-mode pdf-tools org-bullets lua-mode ess elpy diff-hl beacon ace-window))))
(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.
)
'(aw-leading-char-face ((t (:foreground "#292b2e" :background "#bc6ec5" :height 1.0 :box nil)))))