Sign in

Introduction

VIM is a very powerful tool for a developer. Vim has some insane capabilities out of the box. You can achieve a lot with just vim what most editors do with plugins. But if you’re looking to speed your development pace or looking to create a better workflow, you can check out these plugins.

Plugin manager

If you’re trying to use any plugins in vim, you need a plugin manager.
I’m currently using vim-plug as my plugin manager.
It is very easy to set up. And updating/removing plugins is just as easy. You can find the setup guide at https://github.com/junegunn/vim-plug.

Some alternative…


I was playing around with WordPress sage and I came across this issue while using tailwindcss with sage. In this post, I will go through how I came across this issue and what steps I took to solve the issue. Hopefully, with future PRs, the issue will be resolved.

If you don’t know what WordPress sage is, sage is an awesome starter template with a modern front-end workflow with Webpack. It has support for bootstrap4, Bulma, tailwind, and many more. You can find out more about sage in their official documentation. https://roots.io/docs/sage/9.x/installation/

Setup

First in my themes directory, I created a…


As a programmer, I’m always looking for ways to improve my code quality and write clean code. Writing clean code doesn’t come easy. It requires lots of practice and experimentation. One easy way to start writing cleaner code in js is to use some common shorthand. Here I’ve listed some basic js shorthand to make your code cleaner.

1. Short Circuit Assignment

When you want to assign a value to a variable and you want to make sure that it is not set to null you can use this shorthand that’s popularly known as short circuit assignment.

// longer version
let name = "user"; //…

Sagar Lama

Fullstack software engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store