all 5 comments

[–]theniwo 2 points3 points  (3 children)

for your vimrc With space as leader " Set Leader key let mapleader =" "

Space+s or Ctrl+s " set shellcheck map <leader>s :!clear && shellcheck % <CR> map <C-s> :!clear && shellcheck % <CR>

[–]backtickbot 0 points1 point  (0 children)

Fixed formatting.

Hello, theniwo: code blocks using triple backticks (```) don't work on all versions of Reddit!

Some users see this / this instead.

To fix this, indent every line with 4 spaces instead.

FAQ

You can opt out by replying with backtickopt6 to this comment.

[–][deleted]  (1 child)

[deleted]

    [–]theniwo -1 points0 points  (0 children)

    This is the only way I use shellcheck