Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P Pacman
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Pacman
  • Pacman
  • Repository
Switch branch/tag
  • pacman
  • lib
  • libalpm
  • filelist.h
Find file BlameHistoryPermalink
  • Florian Pritz's avatar
    Remove ts and sw from vim modeline when noet is set · cd237075
    Florian Pritz authored Jan 23, 2014 and Allan McRae's avatar Allan McRae committed Jan 28, 2014
    
    
    Forcing vim users to view files with a tabstop of 2 seems really
    unnecessary when noet is set. I find it much easier to read code with
    ts=4 and I dislike having to override the modeline by hand.
    
    Command run:
    find . -type f -exec sed -i '/vim.* noet/s# ts=2 sw=2##' {} +
    
    Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
    cd237075