diff options
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index f2525d3..60fa726 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -8,8 +8,6 @@ if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif -" TODO: bind to insert datetime - call plug#begin('~/.local/share/nvim/site/plugged') Plug 'junegunn/goyo.vim' Plug 'PotatoesMaster/i3-vim-syntax' @@ -224,6 +222,10 @@ call plug#end() let g:goyo_width = 100 map <leader>g :Goyo<CR> +" Insert datetime + map <leader>d :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"<CR>kJ + map <leader>в :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"<CR>kJ + " LSP if has('nvim-0.6') set omnifunc=v:lua.vim.lsp.omnifunc |