dotfiles/dot_config/nvim/init.lua

16 lines
408 B
Lua
Raw Normal View History

2022-12-03 21:05:16 +00:00
require'plug'
require'mason'.setup()
require'lualine'.setup()
require'hop'.setup()
2022-12-03 21:15:36 +00:00
vim.wo.number = true
2022-12-04 01:14:17 +00:00
vim.cmd.colorscheme('tokyonight-night')
2022-12-03 20:06:33 +00:00
vim.cmd[[
set keymap=russian-jcukenwin
set iminsert=0
2022-12-03 20:06:54 +00:00
set imsearch=-1
2022-12-03 20:06:33 +00:00
]]
2022-12-04 15:22:12 +00:00
local hop = require('hop')
local directions = require('hop.hint').HintDirection
2022-12-04 15:22:55 +00:00
vim.keymap.set('', 'f', function() hop.hint_word({ direction = directions.BEFORE_CURSOR }) end, {remap=true})
2022-12-03 19:33:38 +00:00