Skip to content

Commit 5725736

Browse files
author
Daimar Stein
committed
Fixed README and finally fully implemented LiveServer properly
1 parent 864bfa9 commit 5725736

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ I decided not to use [lspinstall](https://github.com/kabouzeid/nvim-lspinstall)
4040
- [ts-rainbow](https://github.com/p00f/nvim-ts-rainbow) - for color matching of brackets, parenthesis, etc.
4141
- [web-devicons](https://github.com/kyazdani42/nvim-web-devicons) - icons for other extensions, like nvim-tree and lualine
4242

43-
### Extra plugins outside of nvim (still not 100% working, but you can try it)
43+
### Extra plugins outside of nvim
4444
- [live-server](https://www.npmjs.com/package/live-server) - for people who do web development, no need to keep refreshing your page after every change
4545

4646
### Non-default keybindings
@@ -55,10 +55,11 @@ I decided not to use [lspinstall](https://github.com/kabouzeid/nvim-lspinstall)
5555
`ctrl+hjkl` to navigate between splits in your screen (including nvim-tree)
5656

5757
`ctrl+t` to open a terminal in split
58+
5859
`ctrl+a` *in terminal mode* to return to normal mode
5960

6061
### Custom commands
61-
`:LiveServer` to start your live server (still not fully implemented correctly)
62+
`:LiveServer` to start your live server
6263

6364
## Biggest references and help
6465
Props to the [NvChad](https://github.com/NvChad/NvChad/) guys, I have used their config for a long while before using VsCode and used most of the extensions they use as a base for mine, removing what I don't use and adding what's more convenient for me. [LunarVim](https://github.com/LunarVim/LunarVim) also had a big part in it, specially due to [ChrisAtMachine's](https://www.youtube.com/channel/UCS97tchJDq17Qms3cux8wcA) videos and livestreams, it was probably the best help I got in porting my old config to Lua.

lua/extras.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
-- Using live-server for HTML/CSS/JS
22
-- (needs to be installed with npm i -g live-server)
3-
vim.cmd[[command! -nargs=* LiveServer :!live-server]]
4-
3+
vim.cmd[[command! -nargs=* LiveServer :split | resize 2 | terminal<CR> | live-server]]

0 commit comments

Comments
 (0)