Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small lua improvements #2

Merged
merged 3 commits into from
Dec 16, 2022
Merged

Conversation

yochem
Copy link
Contributor

@yochem yochem commented Dec 16, 2022

Hi Prime,

I made some minor lua improvements, e.g. using [[ ]] for raw strings to remove the need for escaping " in the yank remaps. I also changed 'double' keymaps for different modes into one keymap for both normal and visual mode. The last command makes consistent use of the vim.cmd.<cmd> feature and change remaps that have this pattern: function() func() end to just func. I spread the changes across commits so you can choose which changes you like and don't like.

Hope you like it!

@ThePrimeagen ThePrimeagen merged commit a7cb6c6 into ThePrimeagen:master Dec 16, 2022
@ThePrimeagen
Copy link
Owner

I won't be able to be on a computer for 12 days. So I may not be able to check if these things work.

If I can sneak in a moment tomorrow I will, else. I'm sorry if this breaks somebody

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants