pondělí 7. října 2019

Unix sysadmin - commands

 
Folds comments in VIM  
:set fdm=expr 
:set fde=getline(v:lnum)=~'^\\s#'?1:getline(prevnonblank(v:lnum))=~'^\\s#'?1:getline(nextnonblank(v:lnum))=~'^\\s*#'?1:0

 Blocks of consecutive comment lines are reduced (folded) to one high-lighted line that can be opened by moving the cursor to the line and typing "zo" and closed by typing "zc"
 Blocks of consecutive comment lines are reduced (folded) to one high-lighted line that can be opened by moving the cursor to the line and typing "zo" and closed by typing "zc"

středa 18. září 2019

DevOps and SysAdmin stuff

A page for useful links and tutorials I stumbled upon while working on a pro[blem|ject].


https://www.theguild.nl/jenkins-docker-awesome-ci/


Unix sysadmin - commands

  Folds comments in VIM   :set fdm=expr :set fde=getline(v:lnum)=~'^\\s #'?1:getline(prevnonblank(v:lnum))=~'^\\s #'?1:...