diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-12-05 09:55:39 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-12-05 09:55:39 +0900 |
| commit | 2912c4eeee7fd83ada1a4fed1a23e9dff520b874 (patch) | |
| tree | a57cdd03c1397c1e5f5a6e9a928711a4be8dd866 /.config/nvim/lua/vimrc.lua | |
| parent | 2bacb56c9ff611694996575cd194853e1449c12b (diff) | |
| download | dotfiles-2912c4eeee7fd83ada1a4fed1a23e9dff520b874.tar.gz dotfiles-2912c4eeee7fd83ada1a4fed1a23e9dff520b874.tar.zst dotfiles-2912c4eeee7fd83ada1a4fed1a23e9dff520b874.zip | |
neovim: refactor
Diffstat (limited to '.config/nvim/lua/vimrc.lua')
| -rw-r--r-- | .config/nvim/lua/vimrc.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/lua/vimrc.lua b/.config/nvim/lua/vimrc.lua index e86103c..b7e21fd 100644 --- a/.config/nvim/lua/vimrc.lua +++ b/.config/nvim/lua/vimrc.lua @@ -201,4 +201,9 @@ end +function M.iabbrev(from, to) + vim.cmd(('inoreabbrev %s %s'):format(from, to)) +end + + return M |
