diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -13,6 +13,18 @@ nnoremap <leader>ev <C-w>s<C-w>j<C-w>L:e $MYVIMRC<cr> let maplocalleader = "\\" let mapleader = " " +" Function to allow adding a line of text to taskwarrior +function! TaskWarriorAddCurrentLine() + let current_line = getline('.') + silent execute ":!task add " . shellescape(current_line) + redraw! + echo "Task added: " . current_line + delete +endfunction + +nnoremap <leader>q :call TaskWarriorAddCurrentLine()<CR> + + " encryption method when using :X set cm=blowfish2 @@ -477,7 +489,7 @@ augroup END syntax off set nohlsearch set background=dark -set cursorline +"set cursorline "set cursorcolumn "set visualbell highlight clear |