bash emacs gitconf vimrc

This commit is contained in:
Tyrel Souza 2017-05-26 10:20:57 -04:00
parent ed930e53ed
commit 1b1d81af03
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5
4 changed files with 16 additions and 3 deletions

View File

@ -47,3 +47,7 @@ function h () {
fi
}
# options
export LESS=-RFX
export PAGER="less"

9
emacs
View File

@ -12,12 +12,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.
'(custom-enabled-themes (quote (smart-mode-line-respectful)))
'(custom-safe-themes
(quote
("3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default)))
("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default)))
'(package-selected-packages
(quote
(color-theme-solarized neotree smart-mode-line powerline magit use-package helm evil-visual-mark-mode))))
(color-theme-solarized neotree smart-mode-line powerline use-package helm evil-visual-mark-mode))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -30,7 +31,6 @@
(evil-mode 1)
;; More configuration goes here
)
(use-package magit)
(use-package smart-mode-line
:ensure t
@ -53,6 +53,9 @@
(setq powerline-arrow-shape 'curve)
(setq powerline-default-separator-dir '(right . left))
;; Projectile
(add-hook 'python-mode-hook 'projectile-mode)
;; rebind neotree in evil-mode
(evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
(evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-enter)

View File

@ -16,6 +16,7 @@
[format]
pretty = format:%C(auto)%h %C(green)%G? %C(red)%<(15,trunc)%aN %C(cyan)%<(15,trunc)%ar %C(white)%<(60,trunc)%s %C(auto)%d
[alias]
ab = "diff --name-only origin/master"
alias = "!git config -l | grep alias | cut -c 7-" # show all these aliases
bc = !git branch --merged master | grep -v master | xargs git branch -d # delete all merged branches
d = diff --color-words # prettier diffs

5
vimrc
View File

@ -128,6 +128,11 @@ nmap <leader>h :bprevious<CR>
" Close the current buffer and move to the previous one
nmap <leader>bq :bp <BAR> bd #<CR>
" FUCK EX MODE
map q: <Nop>
nnoremap Q <nop>
" Toggle line numbers with F1 - no more stupid help!
nmap <silent> <F1> :set invnumber<CR>
autocmd StdinReadPre * let s:std_in=1