New answers tagged


Following Dan's suggestion, I figured it out using input methods: (quail-define-package "vim-LaTeX-suite" "" "v-LTX-s" t "Input method to reproduce vim-LaTeX-suite keybindings" nil t nil nil nil nil nil nil nil nil t) (quail-define-rules ("`a" ["\\alpha"]) ("`b" ["\\beta"]) ) In vim-latex-suite, typing `/ for example produces \frac{}{<++>}<++...


You can define an abbrev that uses the function you defined: (eval-after-load "perl-mode" (define-abbrev perl-mode-abbrev-table "vd" "" #'print-dumper)) Don't forget to turn on abbrev-mode as a minor mode in your perl buffers: (add-hook 'perl-mode-hook #'abbrev-mode) Alternatively, you can probably define conditional yasnippets using the # condition ...


I think what you're looking for is to treat the underscore as part of the word, as Vim does. The best answer is probably this one - look at the solution adding advice around evil-inner-word


Your source code block has text set as the mode. Try changing that to read #+BEGIN_SRC snippet :tangle ~/org/snippets/bibtex-mode/article

Top 50 recent answers are included