1. 02 Feb, 2019 2 commits
  2. 17 Jan, 2019 1 commit
  3. 07 Jan, 2019 1 commit
  4. 10 Dec, 2018 1 commit
    • Adam Monsen's avatar
      update Ubuntu setup for 18.04 · 191335ce
      Adam Monsen authored
      May break 16.04 compatibility.
      
      * Compile with Python 3, so doing point g:ycm_path_to_python_interpreter
      to /usr/bin/python (which I guess is still Python 2).
      * Bonus: always build YouCompleteMe (should work, but might also need a
      `rm ~/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_core.so`)
      191335ce
  5. 12 Nov, 2018 1 commit
  6. 02 Nov, 2018 2 commits
  7. 15 Mar, 2018 1 commit
  8. 21 Feb, 2018 1 commit
    • Adam Monsen's avatar
      improve markdown BufWritePost performance · 8a68d179
      Adam Monsen authored
      The only functional change is adding the bang character within
      MarkdownFileSettings. That ensures I don't run duplicate the autocommand
      and run `silent make` twice upon saving a markdown file. This became
      important when I swapped out `shred` for `rm` in my `mdfmt` script
      (available in full the commit log message for
      e2dbbbbd ).
      
      I no longer need
      
        autocmd BufNewFile,BufRead *.md,*.markdown set filetype=markdown
      
      because the plasticboy/vim-markdown plugin properly detects markdown
      files with either extension.
      8a68d179
  9. 16 Feb, 2018 4 commits
  10. 14 Dec, 2017 1 commit
  11. 13 Dec, 2017 1 commit
  12. 03 Oct, 2017 1 commit
  13. 03 Sep, 2017 1 commit
  14. 28 Jul, 2017 1 commit
  15. 21 Jul, 2017 1 commit
  16. 30 Jun, 2017 1 commit
  17. 22 May, 2017 1 commit
  18. 08 Feb, 2017 1 commit
  19. 24 Oct, 2016 1 commit
  20. 01 Sep, 2016 2 commits
  21. 15 Jul, 2016 1 commit
  22. 12 Jul, 2016 1 commit
  23. 23 Jun, 2016 1 commit
  24. 31 May, 2016 1 commit
    • Adam Monsen's avatar
      use pandoc wrapper to process Markdown · e2dbbbbd
      Adam Monsen authored
      Here's the mdfmt script I'm using:
      
          #!/bin/bash
      
          # Convert Markdown-formatted source into pretty HTML. This automates setup for
          # my preferred Markdown HTML output (custom CSS style and pandoc settings).
      
          set -o errexit
          set -o nounset
          set -o pipefail
      
          md="$1"
      
          if ! [[ -r "$md" ]]
          then
            echo "Nonexistant or unreadable file: $md"
          fi
      
          tempfile=$(mktemp)
      
          cat > "$tempfile" <<EOF
          <style type="text/css">
            /*
            take some underline/code/pre formatting inspiration from github (gollum) and
            stackoverflow
            */
            h1 {
              border-bottom: 1px solid #ddd;
            }
            body {
              font-family: sans-serif;
            }
            td, th {
              border: 1px solid black;
              padding: 5px;
            }
            table {
              border-collapse: collapse;
            }
            li > p {
              margin-top: 0px;
              margin-bottom: 0px;
            }
          </style>
      
          EOF
      
          cat "$md" >> "$tempfile"
      
          pandoc --standalone --smart --highlight-style=tango --to=html5 --output /tmp/out.html "$tempfile"
      
          rm "$tempfile"
      e2dbbbbd
  25. 04 May, 2016 1 commit
    • Adam Monsen's avatar
      customize CommandT window · 8ef39e28
      Adam Monsen authored
      * I like the match at the top of the list, so I turn of
        g:CommandTMatchWindowReverse.
      * The default match bar color is PmenuSel, which for some reason is too
        dark in my console.
      8ef39e28
  26. 21 Apr, 2016 1 commit
  27. 20 Mar, 2016 1 commit
  28. 04 Mar, 2016 1 commit
  29. 26 Jan, 2016 2 commits
  30. 09 Jan, 2016 3 commits
  31. 11 Oct, 2015 1 commit