Permalink
Browse files

Added ,l for latin word under cursor.

  • Loading branch information...
jgm committed May 21, 2012
1 parent 153bdae commit 3925b1ae16cd6ef4f7d9729c51c9ecd164c2d984
Showing with 8 additions and 0 deletions.
  1. +8 −0 vimrc
View
8 vimrc
@@ -309,3 +309,11 @@ endfunction
" solarized toggle between light and back background colors
call togglebg#map("<F5>")
+command! -nargs=* -complete=shellcmd LatinWord new | setlocal buftype=nofile bufhidden=hide noswapfile | r! "/home/jgm/bin/words" <args>
+
+nmap <leader>l :call LatinWordUnderCursor()<cr>
+
+function! LatinWordUnderCursor()
+ let s:wordUnderCursor = expand("<cword>")
+ execute ":LatinWord " . s:wordUnderCursor
+endfunction

0 comments on commit 3925b1a

Please sign in to comment.