mirror of
https://github.com/balkian/dotfiles.git
synced 2024-12-04 01:02:28 +00:00
Org-mode tags and others
This commit is contained in:
parent
9a934dc351
commit
8e833119db
@ -38,7 +38,7 @@ URxvt*font: xft:DejaVu\ Sans\ Mono:pixelsize=14
|
|||||||
URxvt*boldFont: xft:DejaVu\ Sans\ Mono:pixelsize=14:style=bold
|
URxvt*boldFont: xft:DejaVu\ Sans\ Mono:pixelsize=14:style=bold
|
||||||
|
|
||||||
! Fix font space
|
! Fix font space
|
||||||
URxvt*letterSpace: -2
|
URxvt*letterSpace: -1
|
||||||
|
|
||||||
! Scrollbar
|
! Scrollbar
|
||||||
URxvt.scrollStyle: rxvt
|
URxvt.scrollStyle: rxvt
|
||||||
|
@ -5,10 +5,13 @@ then
|
|||||||
if [ $? == "0" ]
|
if [ $? == "0" ]
|
||||||
then
|
then
|
||||||
WID=`xdotool search --class $1 | head -1`
|
WID=`xdotool search --class $1 | head -1`
|
||||||
wmctrl -i -a $WID
|
CWID=`xdotool getactivewindow`
|
||||||
if [ "x$2" != "x" ]
|
if [ "x$WID" != "x$CWID" ];
|
||||||
then
|
then
|
||||||
eval "$2"
|
xdotool windowactivate $WID
|
||||||
|
#wmctrl -i -R $WID
|
||||||
|
else
|
||||||
|
xdotool windowminimize $WID
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "x$3" == "x" ]
|
if [ "x$3" == "x" ]
|
||||||
|
@ -47,6 +47,8 @@
|
|||||||
;; Evil keys
|
;; Evil keys
|
||||||
(evil-leader/set-leader "<SPC>")
|
(evil-leader/set-leader "<SPC>")
|
||||||
|
|
||||||
|
(define-key evil-normal-state-map (kbd "[q") 'previous-error)
|
||||||
|
(define-key evil-normal-state-map (kbd "]q") 'next-error)
|
||||||
(define-key evil-normal-state-map (kbd "[b") 'previous-code-buffer)
|
(define-key evil-normal-state-map (kbd "[b") 'previous-code-buffer)
|
||||||
(define-key evil-normal-state-map (kbd "]b") 'next-code-buffer)
|
(define-key evil-normal-state-map (kbd "]b") 'next-code-buffer)
|
||||||
(define-key evil-normal-state-map (kbd "s") 'evil-ace-jump-char-mode)
|
(define-key evil-normal-state-map (kbd "s") 'evil-ace-jump-char-mode)
|
||||||
|
@ -17,4 +17,24 @@
|
|||||||
|
|
||||||
(setq org-clock-persist 'history)
|
(setq org-clock-persist 'history)
|
||||||
|
|
||||||
|
;; Set syntax highlight in org-mode babel
|
||||||
|
(setq org-src-fontify-natively t)
|
||||||
|
|
||||||
|
;don't prompt me to confirm everytime I want to evaluate a block
|
||||||
|
(setq org-confirm-babel-evaluate nil)
|
||||||
|
|
||||||
|
;;; display/update images in the buffer after I evaluate
|
||||||
|
(add-hook 'org-babel-after-execute-hook 'org-display-inline-images 'append)
|
||||||
|
|
||||||
|
;;;
|
||||||
|
(setq org-tag-alist '(
|
||||||
|
(:startgroup . nil)
|
||||||
|
("@phd" . ?p) ("@home" . ?h)
|
||||||
|
(:endgroup . nil)
|
||||||
|
(:startgroup . nil)
|
||||||
|
("reading" . ?r) ("coding" . ?c) ("writing" . "w")
|
||||||
|
(:endgroup . nil)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
(provide 'config-org)
|
(provide 'config-org)
|
||||||
|
@ -2,6 +2,13 @@
|
|||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Config that needs to be loaded before require
|
;;; Config that needs to be loaded before require
|
||||||
|
|
||||||
|
;; Added by Package.el. This must come before configurations of
|
||||||
|
;; installed packages. Don't delete this line. If you don't want it,
|
||||||
|
;; just comment it out by adding a semicolon to the start of the line.
|
||||||
|
;; You may delete these explanatory comments.
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
@ -59,6 +66,7 @@
|
|||||||
evil-org-mode
|
evil-org-mode
|
||||||
evil-surround
|
evil-surround
|
||||||
exec-path-from-shell
|
exec-path-from-shell
|
||||||
|
f
|
||||||
fill-column-indicator
|
fill-column-indicator
|
||||||
flycheck
|
flycheck
|
||||||
gist
|
gist
|
||||||
@ -75,11 +83,14 @@
|
|||||||
neotree
|
neotree
|
||||||
nxhtml
|
nxhtml
|
||||||
nose
|
nose
|
||||||
|
ob-ipython
|
||||||
pivotal-tracker
|
pivotal-tracker
|
||||||
popwin
|
popwin
|
||||||
pretty-mode
|
pretty-mode
|
||||||
projectile
|
projectile
|
||||||
;; smex
|
;; smex
|
||||||
|
s
|
||||||
|
session
|
||||||
smart-mode-line
|
smart-mode-line
|
||||||
switch-window ; takes over C-x o
|
switch-window ; takes over C-x o
|
||||||
undo-tree
|
undo-tree
|
||||||
@ -114,14 +125,16 @@
|
|||||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||||
;;(setq completion-cycle-threshold t)
|
;;(setq completion-cycle-threshold t)
|
||||||
|
|
||||||
|
(add-hook 'after-init-hook 'session-initialize)
|
||||||
|
|
||||||
;;; Neotree
|
;;; Neotree
|
||||||
(require 'neotree)
|
(require 'neotree)
|
||||||
(setq projectile-switch-project-action 'neotree-projectile-action)
|
|
||||||
(when neo-persist-show
|
(when neo-persist-show
|
||||||
(add-hook 'popwin:before-popup-hook
|
(add-hook 'popwin:before-popup-hook
|
||||||
(lambda () (setq neo-persist-show nil)))
|
(lambda () (setq neo-persist-show nil)))
|
||||||
(add-hook 'popwin:after-popup-hook
|
(add-hook 'popwin:after-popup-hook
|
||||||
(lambda () (setq neo-persist-show t))))
|
(lambda () (setq neo-persist-show t))))
|
||||||
|
(setq projectile-switch-project-action 'neotree-projectile-action)
|
||||||
|
|
||||||
;;; Popwin
|
;;; Popwin
|
||||||
(require 'popwin)
|
(require 'popwin)
|
||||||
@ -201,6 +214,7 @@
|
|||||||
(yas-global-mode 1)
|
(yas-global-mode 1)
|
||||||
(guide-key-mode 1)
|
(guide-key-mode 1)
|
||||||
(scroll-bar-mode 0)
|
(scroll-bar-mode 0)
|
||||||
|
(projectile-global-mode)
|
||||||
|
|
||||||
;;; Specific modes
|
;;; Specific modes
|
||||||
;; (autoload 'markdown-mode "markdown-mode"
|
;; (autoload 'markdown-mode "markdown-mode"
|
||||||
@ -329,4 +343,6 @@
|
|||||||
(setq recentf-max-menu-items 20)
|
(setq recentf-max-menu-items 20)
|
||||||
|
|
||||||
|
|
||||||
|
(eval-after-load 'tramp '(setenv "SHELL" "/bin/bash"))
|
||||||
|
(setq tramp-default-method "ssh")
|
||||||
(provide '.emacs)
|
(provide '.emacs)
|
||||||
|
1
vimrc
1
vimrc
@ -45,6 +45,7 @@ Bundle "tomasr/molokai"
|
|||||||
Bundle "elzr/vim-json"
|
Bundle "elzr/vim-json"
|
||||||
Bundle 'Rykka/riv.vim'
|
Bundle 'Rykka/riv.vim'
|
||||||
Bundle "niklasl/vim-rdf"
|
Bundle "niklasl/vim-rdf"
|
||||||
|
Bundle "lepture/vim-jinja"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
2
zshrc
2
zshrc
@ -20,7 +20,7 @@ ZSH_THEME="balkian"
|
|||||||
CASE_SENSITIVE="true"
|
CASE_SENSITIVE="true"
|
||||||
|
|
||||||
# Comment this out to disable weekly auto-update checks
|
# Comment this out to disable weekly auto-update checks
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
# Change this value to set how frequently ZSH updates¬
|
# Change this value to set how frequently ZSH updates¬
|
||||||
export UPDATE_ZSH_DAYS=13
|
export UPDATE_ZSH_DAYS=13
|
||||||
|
Loading…
Reference in New Issue
Block a user