Skip to content

a vim plugin for submitting code to leetcode, test your code and execute it in vim

Notifications You must be signed in to change notification settings

Virgilio-AI/leetcode-neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-neovim

a vim plugin for submitting code to leetcode, test your code and execute it in vim

demo

requirements

This plugin comes configured and packaged with Water Linux

if you want to install it manually you first have to install leetcode-cli

Installation

The installation process is like any other plugin

Plug 'Virgilio-AI/leetcode-neovim'

Quick start

" Leetcode Nvim Configs:
augroup leetcode
	autocmd!
	autocmd VimEnter *.leetcode.*.py LeetcodeEnter
	autocmd BufEnter *.leetcode.*.py nnoremap <F11> :LeetcodeTest<CR>
	autocmd BufEnter *.leetcode.*.py nnoremap <F11><F11> :LeetcodeExecute<CR>
augroup END

add leetcode executable under ~/.cargo/bin/leetcode to the path

About

a vim plugin for submitting code to leetcode, test your code and execute it in vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published