From c28be931f8bf6805bda1a79fdab76739fd4cb785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 28 Sep 2022 23:39:24 +0300 Subject: Insert datetime binding --- dotfiles/.config/nvim/init.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dotfiles') 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 g :Goyo +" Insert datetime + map d :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"kJ + map в :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"kJ + " LSP if has('nvim-0.6') set omnifunc=v:lua.vim.lsp.omnifunc -- cgit v1.2.3