This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; | |
;; An Emacs Helm extension that retrieves citations from the ADS abstract service | |
;; and inserts a \cite{...} command in the buffer. The citation key is the bibcode | |
;; returned by ADS. | |
;; | |
;; To use, call (helm-ads) | |
;; | |
(require 'url) | |
(require 'json) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" Color scheme based on the pallette CS04 from Kuler: | |
" 1. #F6F792 | |
" 2. #333745 | |
" 3. #77C4D3 | |
" 4. #DAEDE2 | |
" 5. #EA2E49 | |
" Extra colors: | |
" #131519 - darker 2 | |
" #4F576B - lighter 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" | |
" Defines a paragraph text-object that stops at \\begin / \\end , as well as at ordinary | |
" paragraph boundaries. | |
" | |
" Example: dap deletes the text paragraph and avoids any adjoining environments. | |
" | |
autocmd BufRead,BufNewFile *.tex vnoremap ip ?^\s*$\\|\\end<CR>jO/^\s*$\\|\\begin<CR>k$ | |
autocmd BufRead,BufNewFile *.tex vmap ap ip | |
autocmd BufRead,BufNewFile *.tex omap ip :normal Vip<CR> |